]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
Coverity reported an Uninitialized pointer read. Upon further digging it appears...
authorWilliam King <william.king@quentustech.com>
Sun, 19 May 2013 00:34:16 +0000 (17:34 -0700)
committerWilliam King <william.king@quentustech.com>
Sun, 19 May 2013 00:35:07 +0000 (17:35 -0700)
commitf3393ef362707e00daa152c968b100d2ba9192ea
tree8e278c4442dd596ea00af007cadf4368a20f308e
parentbd4ea8424247be0473df4ecf0b8e2514becde407
Coverity reported an Uninitialized pointer read. Upon further digging it appears that there is a code path where incoming packets can come in out of order, so this section of code tries to see if it can find the missed packets. As per FS-5202 there is a case where under heavy load the packet exists, and has most of the packet parsed, but still has a NULL pointer for the packet buffer. These two lines would at least help detect the edge case.
src/mod/applications/mod_spandsp/udptl.c