You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ni...@apache.org on 2009/12/21 14:11:15 UTC
svn commit: r892808 - /httpd/httpd/trunk/server/protocol.c
Author: niq
Date: Mon Dec 21 13:11:14 2009
New Revision: 892808
URL: http://svn.apache.org/viewvc?rev=892808&view=rev
Log:
Fix up r892678 as pointed out by rpluem.
Modified:
httpd/httpd/trunk/server/protocol.c
Modified: httpd/httpd/trunk/server/protocol.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/protocol.c?rev=892808&r1=892807&r2=892808&view=diff
==============================================================================
--- httpd/httpd/trunk/server/protocol.c (original)
+++ httpd/httpd/trunk/server/protocol.c Mon Dec 21 13:11:14 2009
@@ -434,7 +434,7 @@
*read = bytes_handled;
/* PR#43039: We shouldn't accept NULL bytes within the line */
- if (strlen(*s) < bytes_handled - 1) {
+ if (strlen(*s) < bytes_handled) {
return APR_EINVAL;
}