Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 4 Jul 2015 23:17:16 +0800
From: Yu Lu <>
Subject: [PATCH] ns_parse.c: fix ns_skiprr

there is a bug in ns_parse.c
That line should be "return p - ptr;".
The patch:
--- a/src/network/ns_parse.c
+++ b/src/network/ns_parse.c
@@ -95,7 +95,7 @@ int ns_skiprr(const unsigned char *ptr, const unsigned
char *eom, ns_sect sectio
  p += r;
- return ptr - p;
+ return p - ptr;
  errno = EMSGSIZE;
  return -1;

Best Regards

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.