* lib/resolv.rb: randomize source port and transaction id.
commit0a06339f808d9d0fb25fa5e500f21bd5e8623339
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Fri, 8 Aug 2008 01:58:40 +0000 (8 01:58 +0000)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Fri, 8 Aug 2008 01:58:40 +0000 (8 01:58 +0000)
tree6392f23799c3d1dbdf379e4444c6456ad01e1746
parent475be4f5c30125d1c0af45dd72f604c400822eee
* lib/resolv.rb: randomize source port and transaction id.
  CVE-2008-1447.

* lib/resolv-replace.rb (UDPSocket#bind): don't resolv host if host is
  "".

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ChangeLog
lib/resolv-replace.rb
lib/resolv.rb