]> git.ipfire.org Git - people/ms/dnsmasq.git/commit - src/dnsmasq.h
Tidy and fix cache->uid handling.
authorSimon Kelley <simon@thekelleys.org.uk>
Tue, 18 Mar 2014 22:38:30 +0000 (22:38 +0000)
committerSimon Kelley <simon@thekelleys.org.uk>
Tue, 18 Mar 2014 22:38:30 +0000 (22:38 +0000)
commit19c51cfa493563628e07f09008e56c04555e29bb
tree38c78b4690a891668b28fe720edf5f499c92b3d9
parentd5082158ee55db893aeafb0f8392ae6b5e2d1354
Tidy and fix cache->uid handling.

Some CNAMES left the value of ->uid undefined.

Since there are now special values if this, for CNAMES
to interface names, that could cause a crash
if the undefined value hit the special value.

Also ensure that the special value can't arise
when the uid is encoding the source of an F_CONFIG
record, in case there's a CNAME to it.
src/cache.c
src/dnsmasq.h
src/option.c