Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140409100840.GD21662@example.net>
Date: Wed, 9 Apr 2014 12:08:40 +0200
From: u-igbb@...ey.se
To: musl@...ts.openwall.com
Subject: memmem() - is it correct?

A test case adapted from elsewhere:
----
#include <string.h>

main(){
  const char *haystack = "abcde";
  return(!memmem(haystack, 4, "cde", 3));
}
----

returns 1 (as I would expect it to) if linked against uclibc
returns 0                           if linked against musl
(on ia32)

Any comments?
Rune

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.