mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-11 13:30:02 -05:00
add missing eof checks
This commit is contained in:
parent
47a2f9e3da
commit
b23efc0a4d
2 changed files with 5 additions and 2 deletions
|
|
@ -2484,7 +2484,9 @@ static void command_create_upload_stream(pa_pdispatch *pd, uint32_t command, uin
|
|||
|
||||
p = pa_proplist_new();
|
||||
|
||||
if (c->version >= 13 && pa_tagstruct_get_proplist(t, p) < 0) {
|
||||
if ((c->version >= 13 && pa_tagstruct_get_proplist(t, p) < 0) ||
|
||||
!pa_tagstruct_eof(t)) {
|
||||
|
||||
protocol_error(c);
|
||||
pa_proplist_free(p);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue