[PATCH v2 4/6] source-output: Avoid potential NULL dereference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2016-08-30 at 15:04 +0200, Peter Meerwald-Stadler wrote:
> if data->source is NULL, pa_source_output_new_data_set_source() may fail to set data->source;
> the false retval is ignored, leading to a NULL dereference in pa_source_get_state(data->source) below

I don't believe NULL dereference is possible. As I explained earlier,
it should never happen that data->format is set, but data->source
isn't.

-- 
Tanu


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux