]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix core FINDING 2, FINDING 3, and FINDING 4 from Coverity's CONSTANT_EXPRESSION_RESU...
authorMark Michelson <mmichelson@digium.com>
Fri, 4 May 2012 15:51:04 +0000 (15:51 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 4 May 2012 15:51:04 +0000 (15:51 +0000)
commite751e565fc7e2fe4d74094391489a42b3250c83a
treea020279ba98d3a3ba24e71df4335522fad7b7f65
parent4efa855f82aebf4cb8b2a600559eb3ae3db1a1ee
Fix core FINDING 2, FINDING 3, and FINDING 4 from Coverity's CONSTANT_EXPRESSION_RESULT report.

These three all are in RTP code that attempts to print the number of sequence number cycles
in an RTCP RR report. The code was masking out the upper 16 bits and then shifting the number
right by 16 bits. This led to an all zero result in all cases. The fix is to do the shift without
the bit masking.

(issue ASTERISK-19649)
........

Merged revisions 365298 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@365299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_rtp_asterisk.c