]> git.pld-linux.org Git - packages/ruby.git/commitdiff
- added; fixes CVE-2006-5467.
authoraredridel <aredridel@pld-linux.org>
Sat, 4 Nov 2006 18:13:00 +0000 (18:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ruby-1.8.5-cgi-dos-1.patch -> 1.1

ruby-1.8.5-cgi-dos-1.patch [new file with mode: 0644]

diff --git a/ruby-1.8.5-cgi-dos-1.patch b/ruby-1.8.5-cgi-dos-1.patch
new file mode 100644 (file)
index 0000000..a563c65
--- /dev/null
@@ -0,0 +1,11 @@
+--- lib/cgi.rb.orig    2006-08-22 18:38:19.000000000 +0900
++++ lib/cgi.rb 2006-11-03 00:18:53.000000000 +0900
+@@ -1018,7 +1018,7 @@ class CGI
+               else
+                 stdinput.read(content_length)
+               end
+-          if c.nil?
++          if c.nil? || c.empty?
+             raise EOFError, "bad content body"
+           end
+           buf.concat(c)
This page took 0.177855 seconds and 4 git commands to generate.