If nc_session_receive function is called with session parameter as NULL. Looks like it crashes because we are trying to dereference session parameter to unlock pthread mutex.
Somehow in my testing nc_session_receive function is called with session as NULL.
Below are the logs:
Mar 16 07:42:52 localhost netopeer-server[1705]: Invalid session to receive data.
Mar 16 07:42:52 localhost root: process netopeer-server, pid=1705, signal 11 generates coredump...
Hi,
If nc_session_receive function is called with session parameter as NULL. Looks like it crashes because we are trying to dereference session parameter to unlock pthread mutex.
Somehow in my testing nc_session_receive function is called with session as NULL.
Below are the logs:
Mar 16 07:42:52 localhost netopeer-server[1705]: Invalid session to receive data. Mar 16 07:42:52 localhost root: process netopeer-server, pid=1705, signal 11 generates coredump...