CVSROOT:        /cvs/gnome
Module name:    gnet
Changes by:     tpm     06/10/07 16:00:53

Modified files:
        .              : ChangeLog 
        src            : base64.c 

Log message:
* src/base64.c: (gnet_base64_encode), (gnet_base64_decode):
Add guards for NULL input. A 0-length input to gnet_base64_encode()
should return an empty string and not NULL. In the case of
gnet_base64_decode(), use strlen(src) for all non-positive values
of srclen and not just 0, since glib usually uses -1 for this
(0-sized input should really just have returned a 0-sized output
buffer, but we can't change that now for backwards compatibility
reasons).

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnet&who=tpm&date=explicit&mindate=2006-10-07%2015:59&maxdate=2006-10-07%2016:01

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to