[Live-devel] use of unitialized memory in our_MD5End

PROMONET Michel michel.promonet at thalesgroup.com
Fri Jan 20 04:34:33 PST 2012


                Hi,

Valgrind report use of memory that is not initialized in our_MD5End.


Use of uninitialised value of size 8

 (see: http://valgrind.org/docs/manual/mc-manual.html#mc-manual.uninitvals)

    at 0xE5558F: our_MD5End (our_md5hl.c:34)

    by 0xE55751: our_MD5Data (our_md5hl.c:67)

    by 0xE54104: Authenticator::setRealmAndRandomNonce(char const*) (DigestAuthentication.cpp:79)

    by 0xE19552: RTSPServer::RTSPClientSession::authenticationOK(char const*, char const*, char const*, char const*) (RTSPServer.cpp:1511)

    by 0xE164FD: RTSPServer::RTSPClientSession::handleCmd_DESCRIBE(char const*, char const*, char const*, char const*) (RTSPServer.cpp:611)


Adding in Authenticator::setRealmAndRandomNonce
                memset(&seedData,0,sizeof seedData);
seems to force this initialization.

What do you think ?

Best Regards,

                Michel.



[@@THALES GROUP RESTRICTED@@]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120120/22ca6cc8/attachment.html>


More information about the live-devel mailing list