pulseaudio/src/modules/rtp
Lev Melnikovsky 9d2b763e29 rtp: fix non null terminated string / non portable sscanf
In rtp.c:

if (sscanf(t+9, "%i %64c", &_payload, c) == 2)

the string c seems to be non-null terminated. It is later used as
following:

c[strcspn(c, "\n")] = 0;

The same piece of code is responsible for the inability of pulseaudio
on OpenWRT to handle RTP stream at the rate 48000 from another
machine:

[pulseaudio] sdp.c: Failed to parse SDP data: missing data.

It turns out that uClibc does not agree with glibc about "%64c", see
http://git.uclibc.org/uClibc/tree/docs/Glibc_vs_uClibc_Differences.txt

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=92568
2015-11-04 12:45:21 +02:00
..
headerlist.c Rename functions with "tostring" in the name to one with "to_string" to conform with the convention. 2015-09-25 17:29:02 +05:30
headerlist.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-rtp-recv.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-rtp-send.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
rfc2327.txt add an RTP sender module 2006-04-14 23:47:33 +00:00
rfc2974.txt add an RTP sender module 2006-04-14 23:47:33 +00:00
rfc3550.txt add an RTP sender module 2006-04-14 23:47:33 +00:00
rfc3551.txt add an RTP sender module 2006-04-14 23:47:33 +00:00
rtp.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
rtp.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
rtsp_client.c Rename functions with "tostring" in the name to one with "to_string" to conform with the convention. 2015-09-25 17:29:02 +05:30
rtsp_client.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
sap.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
sap.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
sdp.c rtp: fix non null terminated string / non portable sscanf 2015-11-04 12:45:21 +02:00
sdp.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00