[MPlayer-dev-eng] RN5 authentication for rtsp

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Mar 26 10:52:14 CET 2008


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



More information about the MPlayer-dev-eng mailing list