Doh! For jailconfig we could deref a null pointer.
Apparently we don't always set interfaces.mask in the DB for the cnet interface. So the mysql query returns NULL, which we would happily strcpy! Now we use CONTROL_NETMASK if the queried value is null.
Showing with 1 addition and 1 deletion