diff options
| author | rhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-26 06:32:00 +0000 |
|---|---|---|
| committer | rhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-26 06:32:00 +0000 |
| commit | b65b41861f590ae14ec932e323337923ce12ca18 (patch) | |
| tree | 2431210a9f9abadfcbb12c9638d73145d7e2ee9c /lib/shell/command-processor.rb | |
| parent | 256d8c9ecffbcd8f4fe7562b866fcd55f1d445e7 (diff) | |
pack.c: avoid returning uninitialized String
Fix unpacking with 'b', 'B', 'h' and 'H' format. Do not return an
uninitialized String to Ruby before filling the content bytes.
Fixes r11175 ("pack.c (pack_unpack): execute block if given with
unpacked value instead of creating an array", 2006-10-15).
[ruby-core:78841] [Bug #13075]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/shell/command-processor.rb')
0 files changed, 0 insertions, 0 deletions
