backport r33106 from trunk.
ext/date/date_parse.c (date_zone_to_diff): keep a temporary string stored in variable while the contents buffer is beeing used.
ext/date/date_parse.c (date_zone_to_diff): get rid of out of bounds memory read. [ruby-dev:44409] [Bug #5213]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
backport r33106 from trunk.
ext/date/date_parse.c (date_zone_to_diff): keep a temporary string
stored in variable while the contents buffer is beeing used.
ext/date/date_parse.c (date_zone_to_diff): get rid of out of bounds
memory read. [ruby-dev:44409] [Bug #5213]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e