query_name: always return with NAK if service handle invalid
authorDavin McCall <davmac@davmac.org>
Mon, 23 Dec 2019 03:44:22 +0000 (13:44 +1000)
committerDavin McCall <davmac@davmac.org>
Mon, 23 Dec 2019 03:44:22 +0000 (13:44 +1000)
commitec5efd2cde040ff9c732cc078c767e950165f753
tree3f113fb6ec46436cb6fe1a67361c4fb380c96709
parent7547ebbd7b7c316520259e7ca6071dc9fe8bd8aa
query_name: always return with NAK if service handle invalid

Existing code looks like a copy-pasto: returns ACK (not NAK?) and falls
through to a potential null-pointer dereference if the service handle
can't be found.
src/control.cc