From: "zzak (Zachary Scott)" Date: 2013-01-28T02:14:00+09:00 Subject: [ruby-core:51711] [ruby-trunk - Bug #7744][Open] Fix signed integer overflows Github #242 Issue #7744 has been reported by zzak (Zachary Scott). ---------------------------------------- Bug #7744: Fix signed integer overflows Github #242 https://bugs.ruby-lang.org/issues/7744 Author: zzak (Zachary Scott) Status: Open Priority: Normal Assignee: Category: build Target version: next minor ruby -v: 2.0.0 =begin From (()): ((*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. =end -- http://bugs.ruby-lang.org/