segfault with invalid parameters #2

ghazel opened this Issue Oct 12, 2012 · 1 comment


None yet

2 participants

ghazel commented Oct 12, 2012

Obviously due to bad input, but a segfault seems extreme:

1.9.3p194 :003 >"/tmp/fooff", "a") {|f| f.writev('f') }
(irb):3: [BUG] Segmentation fault
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
@tenderlove tenderlove added a commit that closed this issue Oct 12, 2012
@tenderlove * ext/writev/writev.c: check for array type. Fixes #2
* test/test_writev.rb: appropriate test

Fixed and pushed a new gem. Thanks for reporting!

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