On Mon, Sep 03, 2012 at 11:50:25PM +0200, Jaap Keuter wrote:
> Anyone knows what strstr() does with a NULL for a haystack? As far as I can 
> tell 
> it's unspecified.

On Linux it crashes:

(gdb) call strstr(0, "test") 
Program received signal SIGSEGV, Segmentation fault.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to