History log of /external/mdnsresponder/mDNSPosix/mDNSUNP.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
54bbef089d469dba7032c9cefa703647a0e917f1 25-Mar-2014 Dave Platt <dplatt@google.com> Close FILE* handles after consuming contents

Two more file-descriptor leaks. Code was using fopen() to get a
handle, but was never calling fclose() once the file's contents had
been read and processed.

Bug: 13490553
Change-Id: I8c7dbf9d913d6363a14bb10bb5087836181eb1c5
/external/mdnsresponder/mDNSPosix/mDNSUNP.c
f48f8a2e3417f93bc1f45930dbf9c4ea7523523d 19-Mar-2014 Dave Platt <dplatt@google.com> Fix mDNS socket leak during network configuration changes

Several rather important close() calls were embedded within
assert() macros. Not a good idea, as the macros don't compile
into anything at all in non-debug builds, and the close() calls
disappear entirely. This could eventually lead to failure of
the mDNS daemon when its file-descriptor table fills up with
orphans.

Bug: 13490553
Change-Id: I5978c055e8475d8f5be7e0242b80593b45ed71a1
/external/mdnsresponder/mDNSPosix/mDNSUNP.c
8d61c6ee30ea24755dfd111fb497c0533c0ff461 11-Jul-2012 Nick Kralevich <nnk@google.com> Don't call memcpy() with size > src

FORTIFY_SOURCE detected code of the form

char foo[10];
char bar[20];
memcpy(bar, foo, 20);

this code has a read buffer overflow, reading more data
from foo than it contains.

Change-Id: I7b85a2788763a839ce66a37ba84d597167c4a078
/external/mdnsresponder/mDNSPosix/mDNSUNP.c
dd52342e088715929196886494c5055f9186d5c3 29-Mar-2012 Robert Greenwalt <rgreenwalt@google.com> Some fixes for Android

- Lets us not start as root and control who we switch to - switching
to "nobody" prevents us from opening sockets!
- Ratches down the debug output - packet debuggins is very verbose
- Removes some random debugging I'd added

Change-Id: I6d1acf9653dbf0d2c46f7e6081672f26982ffad4
/external/mdnsresponder/mDNSPosix/mDNSUNP.c
47e4cebad7397422144bb03a21f3f7682c062c4a 27-Mar-2012 Robert Greenwalt <rgreenwalt@google.com> Initial code submission for mDnsSd

AKA known as Bonjour.

Change-Id: I7ddf2238deaebe1bdd4c5da83b5ec9038ebec5c6
/external/mdnsresponder/mDNSPosix/mDNSUNP.c