Low 35
AI analysis
EP
Elements ProjectCore Lightning
BitcoinLightning Network
common: set errno=0 before calling strto{l,ul,ull}
This commit fixes a subtle programming bug in how Core Lightning converts text strings to numbers. Functions like strtoull only set an error flag (errno) when a value is too large, but they leave it unchanged on success. If some earlier co…
Defensive fix for errno misuse around strto* conversionsPotential false-positive overflow rejection in BOLT11 amount parsingPotential false-positive overflow rejection in JSON amount and integer parsing
ea2feccbby Matt Whitlock+6−13 files
No security note in commit