Fix Fixnum#pred overflow #3422

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@grddev
Contributor

grddev commented Oct 24, 2015

Without this (-2**63+1).pred returns a positive number. Given that the implementation hasn't changed (substantially) since the initial version in 2008, it seems all JRuby versions should be affected.

@kares

This comment has been minimized.

Show comment
Hide comment
@kares

kares Nov 10, 2015

Member

thanks, put this one onto jruby-1_7 it shall get to master with the branch merge

Member

kares commented Nov 10, 2015

thanks, put this one onto jruby-1_7 it shall get to master with the branch merge

@kares kares closed this Nov 10, 2015

@kares kares added this to the JRuby 1.7.23 milestone Nov 10, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment