Opened 16 years ago
Closed 16 years ago
#4747 closed defect (fixed)
return if a waveheader can't be allocated in JACK_Write
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
JACK_Write in libs/libmyth/bio2jack.c tries to allocate a wave header. It checks to see if it was successful. But it only reports. Later in the same function, it dereferences the wave header pointer. Which would cause a segfault.
Attachments (1)
Change History (2)
Changed 16 years ago by
Attachment: | libs_libmyth_bio2jack.c-return-if-malloc-fails.patch added |
---|
Note: See
TracTickets for help on using
tickets.
Adds a return to a null pointer check so the potentially null pointer is not dereferenced