[Live-devel] SRTP - uninitialized variable causes multicast to fail

Ross Finlayson finlayson at live555.com
Fri Jan 17 07:23:40 PST 2025


Christan,

Many thanks for the detailed bug report.  I have just installed a new version of the code that should fix this (using your proposed solution (b)).


>  Note: The IDE  (CLion) also warns about further, uninitialized members in SRTPCryptographicContext – though I haven’t followed up on their implications.

“SRTPCryptographicContext” has two variables - “fPreviousHighRTPSeqNum” and “fReceptionROC” - that aren’t initialized in the constructor.  However, these variables are set after the arrival of each incoming SRTP packet, but not referenced during the arrival of the very first SRTP packet.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list