[ c ] Fix check_expiry() integer overflow in remaining_seconds calculation
Open-source bounty · GitHub (bounty labels) · open as of 17 Oct 2026
- Amount as listed
- $1 fixed “$1” — quoted from GitHub (bounty labels)
- Platform
- GitHub (bounty labels)
- Kind of work
- Open-source bounty · Engineering
- Open to
- not stated by the platform
- Deadline
- not stated by the platform
- Status
- Open
- Checked
- 17 Oct 2026, 18:22 UTC
What the listing says
- On line 102, remaining seconds is declared as int (32-bit signed) and computed as day diff 86400 + sec diff; a cert valid for 25000 days overflows: 25000 86400 = 2,160,000,000 INT32 MAX (2,147,483,647), producing undefined behavior and a bogus negative value - The warning comparison on line 103 (remaining seconds < 8
Excerpt we recorded when we checked: Etiketten: 💎 Bounty, bug, good first issue, help wanted, 💎 Bounty, $1, AI Agent friendly, AI only allowed - no humans
Open on GitHub (bounty labels) ↗
The work is offered, scoped and paid by GitHub (bounty labels) — not by GOAT Market. We record what they publish and link to it. Claiming, delivering and getting paid all happen on their site, under their terms.
More open on GitHub (bounty labels)
- [Feature] Implement Basic Anti-Cheat Protection $10,000
- [ Bounty $9k ] [ SDK ] Fix encoding.ts decodeParameter doesn't handle dynamic types — back... $9,000
- [ Bounty $9k ] [ Solidity ] Add gas sponsorship relay for agent transactions — security cr... $9,000
- [ Bounty $9k ] [ API ] Fix agents.py doesn't validate endpoint URL format — testnet findin... $9,000
- [ Bounty $9k ] [ SDK ] Fix rpc.ts doesn't handle JSON-RPC batch response ordering — backwa... $9,000