1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
shirosaki 5ccee663e9 * include/ruby/win32.h (FD_SET): change function to macro.
To avoid buffer overflow when smaller FD_SETSISE is used in ext
  libraries.

* win32/win32.c (rb_w32_fdset): this function is not used anymore.
  But we leave this for compatibility.

* win32/win32.c (rb_w32_select_with_thread): fix SEGV when smaller
  FD_SETSISE is used in ext libraries. Dereference of fd_set pointer
  causes SEGV.

* test/-ext-/win32/test_fd_setsize.rb(TestFdSetSize): add tests for
  above.
* ext/-test-/win32/fd_setsize/depend: ditto.
* ext/-test-/win32/fd_setsize/extconf.rb: ditto.
* ext/-test-/win32/fd_setsize/fd_setsize.c: ditto.

  [ruby-core:44588] [Bug #6352]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-08 12:47:25 +00:00
..
-ext- * include/ruby/win32.h (FD_SET): change function to macro. 2012-05-08 12:47:25 +00:00
base64
benchmark
bigdecimal * ext/bigdecimal/bigdecimal.c (Init_bigdecimal): define IDs before 2012-05-07 02:03:28 +00:00
cgi test: why believe source directories are writable always? 2012-05-08 06:49:59 +00:00
coverage
csv test: fix test conditions 2012-05-08 06:50:03 +00:00
date
dbm
digest
dl
drb * test/drb/drbtest.rb ({DRbCore,DRbAry}#teardown}: cannot pass SIGTERM 2012-04-24 01:56:35 +00:00
erb
etc
fiddle
fileutils use assert_equal, assert_match, and so on. 2012-05-07 01:23:07 +00:00
gdbm
io
irb
json * ext/json: Merge JSON 1.7.1. 2012-05-07 16:00:49 +00:00
logger test: why believe source directories are writable always? 2012-05-08 06:49:59 +00:00
matrix
minitest * test/minitest/metametameta.rb (MetaMetaMetaTestCase#assert_report): 2012-05-08 02:23:15 +00:00
misc
mkmf test/mkmf/base.rb: hide compiler output 2012-05-08 06:50:05 +00:00
monitor
net * lib/net/imap.rb (body_type_attachment): parse body type 2012-05-07 04:05:44 +00:00
nkf
objspace
open-uri test: fix test conditions 2012-05-08 06:50:03 +00:00
openssl test_ssl.rb: test only if necessary option is available. 2012-05-07 17:18:55 +00:00
optparse * test/optparse/test_summary.rb (test_summary_containing_space): add 2012-04-25 16:36:14 +00:00
ostruct * hash.c, object.c, struct.c, lib/ostruct.rb: add to_h methods. 2012-04-24 03:46:55 +00:00
pathname
psych add a test for yaml ast roundtripping 2012-04-28 22:24:01 +00:00
rake
rdoc * lib/rdoc/parser.rb (RDoc.binary?): fix wrong regexp. 2012-05-03 22:20:26 +00:00
readline * ext/readline/readline.c (Readline.special_prefixes=) 2012-05-02 00:47:57 +00:00
resolv
rexml test: fix test conditions 2012-05-08 06:50:03 +00:00
rinda * test/rinda/test_rinda.rb: fix sticks on some testsf problem 2012-04-21 06:10:21 +00:00
ripper * parse.y (assoc, parser_yylex): add syntax to splat keyword hash. 2012-04-28 21:12:05 +00:00
rss
ruby * io.c (io_unread): fix IO#pos with mode 'r' bug on Windows. 2012-05-08 12:01:05 +00:00
rubygems use assert_equal, assert_match, and so on. 2012-05-07 01:23:07 +00:00
scanf
sdbm
socket * ext/socket/raddrinfo.c (init_unix_addrinfo): support the longest 2012-04-26 03:34:12 +00:00
stringio * io.c (io_readpartial): Document the output buffer parameter is 2012-04-18 23:48:27 +00:00
strscan
syck
testunit test/testunit: fix for recent minitest 2012-05-07 18:54:09 +00:00
thread
uri * lib/uri/generic.rb (module URI): URI now downcases the scheme to 2012-04-11 22:11:07 +00:00
webrick * lib/webrick/server.rb (WEBrick::GenericServer#start): 2012-04-14 02:30:43 +00:00
win32ole
xmlrpc skip OpenSSL dependent tests if not available 2012-04-23 13:48:41 +00:00
zlib * test/zlib/test_zlib.rb (test_inflate): add a test for Zlib.inflate. 2012-05-04 17:07:18 +00:00
inlinetest.rb
profile_test_all.rb
runner.rb
test_cmath.rb
test_curses.rb
test_delegate.rb
test_find.rb
test_ipaddr.rb
test_mathn.rb Add test for r35265. 2012-04-08 23:05:08 +00:00
test_mutex_m.rb
test_open3.rb
test_pp.rb
test_prettyprint.rb
test_prime.rb
test_pstore.rb use assert_equal, assert_match, and so on. 2012-05-07 01:23:07 +00:00
test_pty.rb * test/test_pty.rb: same as r29280, skip tests when PTY allocation 2012-03-19 06:08:44 +00:00
test_securerandom.rb
test_set.rb
test_shellwords.rb
test_singleton.rb
test_syslog.rb
test_tempfile.rb
test_time.rb
test_timeout.rb
test_tmpdir.rb
test_tracer.rb
test_tsort.rb
test_weakref.rb
with_different_ofs.rb