Closed Bugcheckers closed 6 years ago
It seems if strchr returns NULL here, it can lead to a NULL dereference:
https://github.com/the-tcpdump-group/libpcap/blob/master/rpcapd/fileconf.c#L80
ptr = strchr(ptr, '=') + 1;
Thanks!
The configuration file reader code was a bit sloppy; I rewrote it. That should eliminate this (and other) issues.
It seems if strchr returns NULL here, it can lead to a NULL dereference:
https://github.com/the-tcpdump-group/libpcap/blob/master/rpcapd/fileconf.c#L80
ptr = strchr(ptr, '=') + 1;
Thanks!