mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
6b56c28606
situation.
12 lines
426 B
C
12 lines
426 B
C
--- flood_round_robin.c.orig Wed Apr 7 11:59:12 2004
|
|
+++ flood_round_robin.c Wed Apr 7 11:59:42 2004
|
|
@@ -903,7 +903,7 @@
|
|
|
|
/* FIXME: This algorithm sucks. I need to be shot for writing such
|
|
* atrocious code. Grr. */
|
|
- cookieheader = strstr(resp->rbuf, "Set-Cookie: ");
|
|
+ cookieheader = strnstr(resp->rbuf, "Set-Cookie: ", resp->rbufsize);
|
|
if (cookieheader)
|
|
{
|
|
/* Point to the value */
|