Project

General

Profile

Actions

Backport #7982

closed

rb_raise segfaults on %lli format with (0xffffffff + 1)

Added by erik.s.chang (Erik Chang) about 11 years ago. Updated almost 11 years ago.

Status:
Closed
[ruby-core:<unknown>]

Description

This was not a problem on 1.9.3

Run attached "t" extension with:
ruby -rt -e '"".blowup(0xffffffff + 1)'

to reproduce. Using %lld works around the issue.


Files

t.c (257 Bytes) t.c test extension to segfault erik.s.chang (Erik Chang), 02/28/2013 09:50 AM
extconf.rb (36 Bytes) extconf.rb extconf for test extension erik.s.chang (Erik Chang), 02/28/2013 09:50 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0