Skip to content
  • Mike Hibler's avatar
    Doh! For jailconfig we could deref a null pointer. · f3533fca
    Mike Hibler authored
    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.
    f3533fca