Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

segfault with invalid parameters #2

Closed
ghazel opened this Issue · 1 comment

2 participants

@ghazel

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

1.9.3p194 :003 > File.open("/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 closed this issue from a commit
@tenderlove * ext/writev/writev.c: check for array type. Fixes #2
* test/test_writev.rb: appropriate test
962e35e
@tenderlove
Owner

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
Something went wrong with that request. Please try again.