]> git.pld-linux.org Git - packages/ruby.git/blob - ruby-1.8.5-cgi-dos-1.patch
- patched to fix CVE-2006-5467.
[packages/ruby.git] / ruby-1.8.5-cgi-dos-1.patch
1 --- lib/cgi.rb.orig     2006-08-22 18:38:19.000000000 +0900
2 +++ lib/cgi.rb  2006-11-03 00:18:53.000000000 +0900
3 @@ -1018,7 +1018,7 @@ class CGI
4                else
5                  stdinput.read(content_length)
6                end
7 -          if c.nil?
8 +          if c.nil? || c.empty?
9              raise EOFError, "bad content body"
10            end
11            buf.concat(c)
This page took 0.026159 seconds and 3 git commands to generate.