Mike Brady
627668669b
Continue fixing CVE-2017-12130 -- remove an assert() left in the code by mistake.
2019-03-05 15:55:06 +00:00
Mike Brady
9f91bd2d98
fix tinysvcmdns issues reported in CVE-2017-12130
2019-02-16 17:51:47 +00:00
Mike Brady
41796cbaf9
Quieten two compilation warnings from tinysvcmdns
2019-02-12 12:08:16 +00:00
Mike Brady
2e4428538d
Add an "active" mode that can time out after a period -- 10 seconds by default -- after play ends.
2019-01-21 21:43:55 +00:00
Mike Brady
0cd8a2ce90
Remove more causes of warnings at -Wextra levels
2018-03-07 22:05:11 +00:00
Mike Brady
f8518af7e0
Remove some more causes of warnings.
2018-03-07 19:22:18 +00:00
Chris Boot
5dc4c9ca14
tinysvcmdns: fix CVE-2017-12087
...
This patch incorporates upstream's fixes for a remotely exploitable
buffer overflow bug in the bundled tinysvcmdns library. The following
upstream commits are included:
https://bitbucket.org/geekman/tinysvcmdns/commits/48c73fbb36b7a5584b00538d89c89dd8b15ab2a7
https://bitbucket.org/geekman/tinysvcmdns/commits/29ea1b9fca94dc42d16109e050d2967231b1e341
The changes have been incorporated preserving local changes such as the
check for malloc() returning NULL.
Reported against shairport-sync in Ubuntu Launchpad:
https://bugs.launchpad.net/ubuntu/+source/shairport-sync/+bug/1729668
This commit closes GitHub issue #619 .
2017-11-23 14:36:04 +00:00
Mike Brady
3001f39bc5
3.1.2 pretty-print using clang-format
2017-09-07 12:02:00 +01:00
Mike Brady
48c1d3eb20
Add fixes suggested by using "infer"
2017-09-03 22:46:57 +01:00
Mike Brady
064bd293c5
Tidy up with a clang-format
2016-09-11 10:35:53 +01:00
Mke Brady
7b2208fe36
Quiten the diagnostic and error messages
2015-11-29 09:19:42 +00:00
Mke Brady
87a0475c16
Reformat using clang-format.
2015-06-01 23:16:50 +01:00
Mke Brady
44c34f6dab
Add .local to hostname if it's not already there. Honour the timings suggested in RFC 6762 Section 10.
2014-11-28 08:46:55 +00:00
James Laird
82518dc334
whitespace cleanups
2013-10-22 10:44:40 +11:00
Paul Lietar
592119bc4d
Add a new mDNS backend based on tinysvcmdns
...
This backend allows shairport to run without having a heavy daemon such
as avahi or mDNSResponder running in the background.
ipv6 support is more or less experimental right now.
2013-10-22 10:33:41 +11:00