Ticket #148 (closed defect: fixed)
libdaemon's daemon_close_all() stargs usage is wrong
| Reported by: | dcbw | Owned by: | lennart |
|---|---|---|---|
| Milestone: | Avahi 0.6.21 | Component: | other |
| Keywords: | Cc: |
Description
It's only called with except_fd = -1, but the code assumes there will be more arguments. Therefore, it runs through random memory in the for loops trying to get the end of the varargs argument list, which is garbage memory because there arne't any.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

