On Thu, Oct 31, 2002 at 09:13:56AM +0530, Binand Raj S. wrote:
> On Wed, Oct 30, 2002 at 05:06:48PM +0000, Brian Candler wrote:
> > +char *q=malloc(sizeof("UID=")+strlen(userid));
>
> And later...
>
> > + strcat(strcpy(q, "UID="), userid);
>
> Just FYI, it looks to me there is an off by one error here.
sizeof("UID=") includes the terminating zero, i.e. it's 5.
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users