summaryrefslogtreecommitdiff
path: root/lib/constitution
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2018-01-28 22:36:01 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2018-01-28 22:36:01 +0100
commit549a6745e3b6a69c9a14deb5090b8fa1ad444f06 (patch)
treefd736a074cdda8890cc5429b6d117afecc4e7459 /lib/constitution
parentb3b938d5ecb39e0548ab811ee1099e6dda67052f (diff)
downloadplan9front-549a6745e3b6a69c9a14deb5090b8fa1ad444f06.tar.xz
ndb/dns: fix leak in myaddr(), normalize ip strings
remove myaddr() function and replace with myip() function that receives binary ip address. and don't use string comparsion for ip addresses... parse and then ipcmp(). for sanity reasons, normalize ip address strings and reject unparsable ones. done by calling ipalookup() with a binary ip address.
Diffstat (limited to 'lib/constitution')
0 files changed, 0 insertions, 0 deletions