Tagged articles
13 articles
Page 1 of 1
Code Mala Tang
Code Mala Tang
Aug 30, 2025 · Fundamentals

Why Python Never Overflows: The Secret of Arbitrary‑Precision Integers

Unlike fixed‑size integers in languages like C or Java, Python uses arbitrary‑precision integers that automatically expand, preventing overflow; this article explains the underlying CPython implementation, demonstrates the behavior with examples, and discusses the memory and performance trade‑offs of such limitless integers.

Arbitrary PrecisionCPythonPython
0 likes · 5 min read
Why Python Never Overflows: The Secret of Arbitrary‑Precision Integers
FunTester
FunTester
Mar 3, 2025 · Backend Development

Avoid These Hidden Go Pitfalls: Octal Literals, Integer Overflow, Float Comparison, Slices & Maps

This article reveals thirteen subtle Go programming mistakes—from octal literals and integer overflow to floating‑point comparison, slice length vs. capacity, map initialization, and value copying—providing clear explanations, real‑world analogies, and concrete best‑practice code fixes to prevent bugs and performance issues.

Gobest practicesfloating-point
0 likes · 14 min read
Avoid These Hidden Go Pitfalls: Octal Literals, Integer Overflow, Float Comparison, Slices & Maps
IT Services Circle
IT Services Circle
Aug 5, 2024 · Fundamentals

Ariane 5 Rocket Explosion Caused by a Software Integer‑Overflow Bug

The 1996 Ariane 5 launch failed and exploded due to a single line of legacy code that caused a 64‑bit floating‑point to 16‑bit signed integer conversion overflow in the guidance system, highlighting the dangers of unchecked code reuse, inadequate error handling, and insufficient testing in critical software.

data type conversioninteger overflowrocket failure
0 likes · 6 min read
Ariane 5 Rocket Explosion Caused by a Software Integer‑Overflow Bug
Liangxu Linux
Liangxu Linux
Nov 4, 2023 · Information Security

How Integer Overflows Threaten C Programs and How to Detect Them Safely

This article explains the difference between unsigned and signed integer overflow in C, shows how overflow can lead to buffer overflows and security breaches, illustrates common pitfalls with code examples, discusses compiler optimizations that remove overflow checks, and provides reliable techniques for detecting and preventing integer overflow.

C ProgrammingCompiler OptimizationUndefined Behavior
0 likes · 15 min read
How Integer Overflows Threaten C Programs and How to Detect Them Safely
dbaplus Community
dbaplus Community
Oct 29, 2023 · Databases

Why MySQL 8.0 MTS Hangs After 2³¹ Transactions and How to Reproduce the Bug

MySQL 8.0.28 and earlier can deadlock in multi‑threaded slave replication when the internal commit sequence counter overflows after 2³¹ transactions, causing workers to stop waking and the replica to hang; the article explains the underlying slave_preserve_commit_order mechanism, the overflow bug, and a step‑by‑step reproduction method.

MTSbug reproductioncommit order
0 likes · 11 min read
Why MySQL 8.0 MTS Hangs After 2³¹ Transactions and How to Reproduce the Bug
Laravel Tech Community
Laravel Tech Community
Jan 29, 2023 · Information Security

Git Security Vulnerabilities CVE-2022-41903 and CVE-2022-23521: Integer Overflows in Pretty Formatting and Gitattributes

Git released maintenance versions fixing critical security issues CVE-2022-41903 and CVE-2022-23521, which stem from integer overflows in the pretty formatting code and gitattributes parsing, potentially allowing arbitrary heap reads/writes and remote code execution via crafted git log formats or malicious .gitattributes files.

GitRemote Code Executioninteger overflow
0 likes · 3 min read
Git Security Vulnerabilities CVE-2022-41903 and CVE-2022-23521: Integer Overflows in Pretty Formatting and Gitattributes
Liangxu Linux
Liangxu Linux
Oct 27, 2021 · Information Security

How an Integer Overflow in IIS’s Read Function Triggers CVE‑2015‑1635

The article explains how a signed‑to‑unsigned integer overflow in IIS’s Read function bypasses size checks, leading to a zero‑length read that triggers the CVE‑2015‑1635 vulnerability in HTTP.sys, allowing attackers to crash the server with crafted Range requests.

CVE-2015-1635Denial of ServiceHTTP.sys
0 likes · 6 min read
How an Integer Overflow in IIS’s Read Function Triggers CVE‑2015‑1635
Liangxu Linux
Liangxu Linux
Mar 13, 2021 · Information Security

How Hackers Break Into the OS Kernel: Methods, Exploits, and Defenses

This article explains how attackers gain kernel-level privileges by exploiting vulnerabilities such as null-pointer dereferences, use-after-free, and integer overflow bugs, outlines the four legitimate ways programs enter kernel mode, and reviews real-world CVE cases and modern mitigation techniques.

CVEOS securityUse-After-Free
0 likes · 10 min read
How Hackers Break Into the OS Kernel: Methods, Exploits, and Defenses
Programmer DD
Programmer DD
Nov 5, 2020 · Fundamentals

How to Detect Integer Overflow in Java with Built‑in Math Methods

This article explains how to use Java's Math class methods such as addExact, subtractExact, and multiplyExact to detect integer overflow, provides the source code for each operation, discusses differences between int and long handling, and offers tips for performance‑aware usage.

Math.addExactinteger overflowjava
0 likes · 4 min read
How to Detect Integer Overflow in Java with Built‑in Math Methods
Qunar Tech Salon
Qunar Tech Salon
Jul 27, 2015 · Frontend Development

JavaScript JSON Number Handling and Integer Overflow Issues

The article explains how JavaScript interprets JSON values without quotation marks as numbers, demonstrates the difference between numeric and string representations of the same value, and warns that large numeric literals may overflow a 32‑bit integer during internal conversion.

Data TypesJSONJavaScript
0 likes · 2 min read
JavaScript JSON Number Handling and Integer Overflow Issues