rtsp: Corrected the HTTP digest authorization computation.
authorPeter Kjellerstedt <pkj@axis.com>
Tue, 18 Aug 2009 14:49:58 +0000 (16:49 +0200)
committerPeter Kjellerstedt <pkj@axis.com>
Tue, 18 Aug 2009 14:50:58 +0000 (16:50 +0200)
commit3b888cfe2a8c6fda76daaba45f251e708565c194
tree049740286d788faab88a6e7ff8eb9a19cd783c3b
parentb7fa34a279b5633e64093ca12c43f150c21f57a0
rtsp: Corrected the HTTP digest authorization computation.

Do not use sizeof() on an array passed as an argument to a function and
expect to get anything but the size of a pointer. As a result only the
first 4 (or 8) bytes of the response buffer were initialized to 0 in
auth_digest_compute_response() which caused it to return a string which
was not NUL-terminated...
gst-libs/gst/rtsp/gstrtspconnection.c