cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-684940 ] bug in base64.c

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 11 Feb 2003 14:01:01 -0800

Bugs item #684940, was opened at 2003-02-11 22:01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=684940&group_id=976

Category: libcurl
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Christopher R. Palmer (crpalmer13)
Assigned to: Daniel Stenberg (bagder)
Summary: bug in base64.c

Initial Comment:
base64.c appears to have a bug. It seems to assume
that there are no \0 characters in the string to be
encoded. The following little fix corrects the problem:

diff -r1.19 base64.c
138c138
< if(*indata) {

---
>       if(insize > 0) {
----------------------------------------------------------------------
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=684940&group_id=976
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Received on 2003-02-11