File 12442.patch of Package squid
---------------------
PatchSet 12442
Date: 2009/02/02 12:41:32
Author: hno
Branch: SQUID_2_7
Tag: (none)
Log:
Soft copy-paste error in request line version parser
Members:
src/HttpMsg.c:1.17.2.1->1.17.2.2
Index: squid/src/HttpMsg.c
===================================================================
RCS file: /cvsroot/squid/squid/src/HttpMsg.c,v
retrieving revision 1.17.2.1
retrieving revision 1.17.2.2
diff -u -r1.17.2.1 -r1.17.2.2
--- squid/src/HttpMsg.c 2 Feb 2009 11:13:24 -0000 1.17.2.1
+++ squid/src/HttpMsg.c 2 Feb 2009 12:41:32 -0000 1.17.2.2
@@ -1,6 +1,6 @@
/*
- * $Id: HttpMsg.c,v 1.17.2.1 2009/02/02 11:13:24 hno Exp $
+ * $Id: HttpMsg.c,v 1.17.2.2 2009/02/02 12:41:32 hno Exp $
*
* DEBUG: section 74 HTTP Message
* AUTHOR: Alex Rousskov
@@ -280,7 +280,7 @@
min = min * 10;
min = min + (hmsg->buf[i]) - '0';
}
- if (maj >= 65536) {
+ if (min >= 65536) {
retcode = -1;
goto finish;
}