Closed
Bug 620250
Opened 15 years ago
Closed 15 years ago
crash [@ vorbis_dsp_clear] if !vi
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: timeless, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: coverity, crash)
Crash Data
235 void vorbis_dsp_clear(vorbis_dsp_state *v){
236 int i;
237 if(v){
238 vorbis_info *vi=v->vi;
this code worries that vi might be null:
239 codec_setup_info *ci=(codec_setup_info *)(vi?vi->codec_setup:NULL);
240 private_state *b=(private_state *)v->backend_state;
241
242 if(v->pcm){
this code simply crashes:
243 for(i=0;i<vi->channels;i++)
Comment 1•15 years ago
|
||
vi can't be NULL if pcm is non-NULL. vi->channels is required to allocate pcm in the first place.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
ok, kinda unfortunate, i'm likely to be switching to a new coverity in the future at which point any annotations i make in the current one will be lost.
Status: RESOLVED → VERIFIED
Resolution: INVALID → WORKSFORME
Assignee | ||
Updated•14 years ago
|
Crash Signature: [@ vorbis_dsp_clear]
Updated•7 years ago
|
Blocks: coverity-analysis
You need to log in
before you can comment on or make changes to this bug.
Description
•