#integeroverflow — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #integeroverflow, aggregated by home.social.
-
This unblocks something on my to-do list! Detecting and dealing with #IntegerOverflow in C is a mild ball-ache and so I've been using that as my excuse to procrastinate. 2/n
-
This unblocks something on my to-do list! Detecting and dealing with #IntegerOverflow in C is a mild ball-ache and so I've been using that as my excuse to procrastinate. 2/n
-
🎩✨ Oh joy, yet another riveting exploration of integer overflow checks – because who wouldn't want to dive into the thrilling world of compiler flags and conditional branches? 🤔🔍 Surely, decoding a branch on #x86 is everyone's idea of a fun-filled weekend! 😂🚀
https://danluu.com/integer-overflow/ #integeroverflow #compilerflags #programminghumor #technews #softwaredevelopment #HackerNews #ngated -
🎩✨ Oh joy, yet another riveting exploration of integer overflow checks – because who wouldn't want to dive into the thrilling world of compiler flags and conditional branches? 🤔🔍 Surely, decoding a branch on #x86 is everyone's idea of a fun-filled weekend! 😂🚀
https://danluu.com/integer-overflow/ #integeroverflow #compilerflags #programminghumor #technews #softwaredevelopment #HackerNews #ngated -
CW: Integer overflow
Integer overflow! Integer overflow!
The battery is labeled 44Ah.
The charger shows -24534 mAh.
Assuming this thing uses an int16 to store the charged capacity its now at 41 Ah charged, which is totally fine for a "dead, to be scrapped" car battery.
(Yes I am doing silly off-grid stuff again)
-
CW: Integer overflow
Integer overflow! Integer overflow!
The battery is labeled 44Ah.
The charger shows -24534 mAh.
Assuming this thing uses an int16 to store the charged capacity its now at 41 Ah charged, which is totally fine for a "dead, to be scrapped" car battery.
(Yes I am doing silly off-grid stuff again)
-
Recent addition to the Newton Glossary describing the “Year 2040 Problem”.
-
Recent addition to the Newton Glossary describing the “Year 2040 Problem”.
-
Bugs in Gains Network fork let traders profit 900% on every trade: Report - An attacker could have placed a limit buy order with an arbitrarily high... - https://cointelegraph.com/news/bugs-in-unnamed-gains-network-fork-let-traders-profit-900-on-every-trade #holdstationexchange #integeroverflow #cybersecurity #gainsnetwork #holdstation #kravtrade #exploit #zellic #gains #krav
-
Bugs in Gains Network fork let traders profit 900% on every trade: Report - An attacker could have placed a limit buy order with an arbitrarily high... - https://cointelegraph.com/news/bugs-in-unnamed-gains-network-fork-let-traders-profit-900-on-every-trade #holdstationexchange #integeroverflow #cybersecurity #gainsnetwork #holdstation #kravtrade #exploit #zellic #gains #krav
-
Congratulations to #duolingo on passing the first #IntegerOverflow test!
-
Congratulations to #duolingo on passing the first #IntegerOverflow test!
-
Jetzt patchen! Attacken auf Google Chrome | heise online
https://heise.de/-9542935 #Webbrowser #Browser #Chrome #Sicherheitslücken #Speicherfehler #IntegerOverflow -
Jetzt patchen! Attacken auf Google Chrome | heise online
https://heise.de/-9542935 #Webbrowser #Browser #Chrome #Sicherheitslücken #Speicherfehler #IntegerOverflow -
@hywan gcc is not wrong though. You need to check upfront with a decent bounds check that what you will do is OK in C, rather than do it, then see if something undefined happened.
Unfortunately there weren't good tools in the C or C++ stdlib to do checking for a long time.
For C++: https://learn.microsoft.com/en-us/cpp/safeint/safeint-library
C from c23 has builtins to do this, and each common compiler does too:
https://stackoverflow.com/questions/199333/how-do-i-detect-unsigned-integer-overflow -
@hywan gcc is not wrong though. You need to check upfront with a decent bounds check that what you will do is OK in C, rather than do it, then see if something undefined happened.
Unfortunately there weren't good tools in the C or C++ stdlib to do checking for a long time.
For C++: https://learn.microsoft.com/en-us/cpp/safeint/safeint-library
C from c23 has builtins to do this, and each common compiler does too:
https://stackoverflow.com/questions/199333/how-do-i-detect-unsigned-integer-overflow