mirror of
https://github.com/ruby/ruby.git
synced 2025-09-17 01:23:57 +02:00
merges r30435 from trunk into ruby_1_9_2.
-- * vsnprintf.c (BSD__uqtoa): Fix overflow when long != quad_t. patched by Peter Weldon <peter.weldon AT null.net> [ruby-core:33985] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
66fd410332
commit
67cabb2f17
4 changed files with 11 additions and 2 deletions
|
@ -362,7 +362,7 @@ static char *
|
|||
BSD__uqtoa(register u_quad_t val, char *endp, int base, int octzero, const char *xdigs)
|
||||
{
|
||||
register char *cp = endp;
|
||||
register long sval;
|
||||
register quad_t sval;
|
||||
|
||||
/*
|
||||
* Handle the three cases separately, in the hope of getting
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue