Web lists-archives.org

Re: [MPlayer-dev-eng] RN5 authentication for rtsp




On Tue, Mar 25, 2008 at 11:58:53PM -0400, Paul wrote:
> +      sprintf(p,"%-.200s:%-.200s:%-.200s", username,realm,password);

Is there a reason to truncate the strings individually instead of just
using snprintf (which would also allow to check for such an error if it
is wanted)?

> +//      fprintf(stderr,"munging: %s\n",p);

Either convert to proper mp_msg or remove.

Greetings,
Reimar Döffinger
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng