Fix signed integer overflows Github #242
From ((<github issue 242|URL:https://github.com/ruby/ruby/pull/242>)):
((Signed integer overflow is undefined behavior in C. Many compilers assume no signed integer overflows and even optimize away overflow checks. The -fno-strict-overflow flag works around this issue in gcc, but doesn't fix the fundamentally broken code.))
((This patchset fixes signed integer overflows in time.c, ossl.c, and bigdecimal.c.))
I've attached the associated patch.
Updated by nobu (Nobuyoshi Nakada) almost 9 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100