owntone-server/src/outputs
ejurgensen 0c2773039b [-] Fix alsa.c null pointer deref + some minor bugs and do some housekeeping
Thanks to Denis Denisov and cppcheck for notifying about the below. The leaks
are edge cases, but the warning of dereference of avail in alsa.c points at
a bug that could probably cause actual crashes.

[src/evrtsp/rtsp.c:1352]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
[src/httpd_daap.c:228]: (error) Memory leak: s
[src/library.c:280]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'.
[src/library.c:284]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'.
[src/library/filescanner_playlist.c:251]: (error) Resource leak: fp
[src/library/filescanner_playlist.c:273]: (error) Resource leak: fp
[src/outputs/alsa.c:143]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
[src/outputs/alsa.c:657]: (warning) Possible null pointer dereference: avail
[src/outputs/dummy.c:75]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
[src/outputs/fifo.c:245]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
[src/outputs/raop.c:1806]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
[src/outputs/raop.c:1371]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'.
[src/outputs/raop.c:1471]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'.
[src/outputs/raop_verification.c:705] -> [src/outputs/raop_verification.c:667]: (warning) Either the condition 'if(len_M)' is redundant or there is possible null pointer dereference: len_M.
2017-10-05 22:13:01 +02:00
..
alsa.c [-] Fix alsa.c null pointer deref + some minor bugs and do some housekeeping 2017-10-05 22:13:01 +02:00
cast_channel.pb-c.c [chromecast] Fix typo 2016-02-11 20:04:30 +01:00
cast_channel.pb-c.h [chromecast] Support protobuf v1 2016-02-11 20:04:30 +01:00
cast_channel.v0.pb-c.c [chromecast] Support protobuf v1 2016-02-11 20:04:30 +01:00
cast_channel.v0.pb-c.h [chromecast] Support protobuf v1 2016-02-11 20:04:30 +01:00
cast.c [-] Fix alsa.c null pointer deref + some minor bugs and do some housekeeping 2017-10-05 22:13:01 +02:00
dummy.c [-] Fix alsa.c null pointer deref + some minor bugs and do some housekeeping 2017-10-05 22:13:01 +02:00
fifo.c [-] Fix alsa.c null pointer deref + some minor bugs and do some housekeeping 2017-10-05 22:13:01 +02:00
pulse.c [-] Fix alsa.c null pointer deref + some minor bugs and do some housekeeping 2017-10-05 22:13:01 +02:00
raop_verification.c [-] Fix alsa.c null pointer deref + some minor bugs and do some housekeeping 2017-10-05 22:13:01 +02:00
raop_verification.h [raop] Add support for Apple TV device verification, required by tvOS 10.2 (fix for issue #377) 2017-06-19 21:52:01 +02:00
raop.c [-] Fix alsa.c null pointer deref + some minor bugs and do some housekeeping 2017-10-05 22:13:01 +02:00
streaming.c [outputs] Make a wrapper for mp3 streaming so it can be included in 2016-04-14 09:48:47 +02:00