mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
core: Fix uninit pointer read in protocol-native
https://scan7.coverity.com:8443/reports.htm#v10205/p10016/fileInstanceId=8690&defectInstanceId=3703&mergedDefectId=591290&eventIds=3703-7&eventId=3703-7 Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
This commit is contained in:
parent
7fca92627b
commit
e11b699d45
1 changed files with 1 additions and 0 deletions
|
|
@ -4780,6 +4780,7 @@ static void command_set_port_latency_offset(pa_pdispatch *pd, uint32_t command,
|
||||||
pa_tagstruct_gets64(t, &offset) < 0 ||
|
pa_tagstruct_gets64(t, &offset) < 0 ||
|
||||||
!pa_tagstruct_eof(t)) {
|
!pa_tagstruct_eof(t)) {
|
||||||
protocol_error(c);
|
protocol_error(c);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
CHECK_VALIDITY(c->pstream, c->authorized, tag, PA_ERR_ACCESS);
|
CHECK_VALIDITY(c->pstream, c->authorized, tag, PA_ERR_ACCESS);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue