[Common-dev] CR-RESEND Fix for PR 146720 [Hotrod fails to play secure content]

[Common-dev] CR-RESEND Fix for PR 146720 [Hotrod fails to play secure content]

Anil Jaiswal ajaiswal at real.com
Mon Aug 29 09:05:11 PDT 2005


>
> Modified by: ajaiswal at real.com
> Reviewed by:
> Date: 08-25-2005
>
> Project:
> HEAD, 150Cay
>
> Synopsis:
> RealPlayer fails to play secure content. Presentation does not stream and
> client is also not displaying any error message.
>
> Fix:
> For accessing secure media presentations from RTSP servers client require
> authentication for accessing the resource. Here the client was able be able
> to recognize rtsp-server generated 401 status code but was failing to parse
> and include the WWW-Authenticate header as the header containing
challenge buffer released before it is parsed.
>
> This  change fixes access violation and client now prompts for
authentication
> information from user and streams the presentation.
>
> Files Modified:
> common/auth/rn5auth/rn5auth.cpp
>
> Image Size and Heap Use impact:
> none
>
> Platforms and Profiles Affected:
> all platforms, all profiles
>
> Platforms and Profiles Build Verified:
> Windows
> helix-client-all-defines.pf
>
> Platforms and Profiles Functionality verified:
> RealPlayer installed from hotrod build on Windows
> helix-client-all-defines.pf
>
> cvs diff :
> ? vc60.idb
> cvs diff: Diffing .
> Index: rn5auth.cpp
> ===================================================================
> RCS file: /cvsroot/common/auth/rn5auth/rn5auth.cpp,v
> retrieving revision 1.2.6.2
> diff -u -w -r1.2.6.2 rn5auth.cpp
> --- rn5auth.cpp 9 Jun 2005 00:49:54 -0000       1.2.6.2
> +++ rn5auth.cpp 25 Aug 2005 19:40:19 -0000
> @@ -876,7 +876,6 @@
>
>               if (strncasecmp(pszChallenge, "RN5", 3) == 0)
>               {
> -                HX_RELEASE(pChallengeBuf);
>                   return _HeaderToCredentials(pChallengeBuf,
> ppCredentials);
>               }
>           }
> @@ -896,6 +895,7 @@
>       IHXValues** ppCredentials
>   )
>   {
> +    HX_ASSERT(pHeader);
>       char* sChallenge = (char*) pHeader->GetBuffer();
>
>       if(strncasecmp(sChallenge, "RN5", 3) == 0)
> Index: rn5auth.def
> ===================================================================
> RCS file: /cvsroot/common/auth/rn5auth/rn5auth.def,v
> retrieving revision 1.1
> diff -u -w -r1.1 rn5auth.def
> cvs diff: Diffing platform
> cvs diff: Diffing platform/mac




More information about the Common-dev mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.