Date: Thu, 19 Jun 2008 10:27:48 +1000 (EST) From: Mark Andrews <marka@isc.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/124739: "b64decode -r" fails to decode legal base64 encoded data Message-ID: <200806190027.m5J0Rmbn006890@drugs.dv.isc.org> Resent-Message-ID: <200806190030.m5J0UYvN076289@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 124739 >Category: bin >Synopsis: "b64decode -r" fails to decode legal base64 encoded data >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 19 00:30:34 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Mark Andrews >Release: FreeBSD 6.3-STABLE i386 >Organization: ISC >Environment: System: FreeBSD drugs.dv.isc.org 6.3-STABLE FreeBSD 6.3-STABLE #19: Fri Apr 25 13:07:00 EST 2008 marka@drugs.dv.isc.org:/usr/obj/usr/src/sys/DRUGS i386 >Description: "b64decode -r" doesn't handle arbitary breaks in base64 encoded data. White space should be accepted anywhere in a base64 encoded stream, not just after every chunk (4 characters). >How-To-Repeat: Enter the string "VmVsb2NpdHkgUmV3YXJkcw==" with and without the "==" on the first line. % b64decode -r VmVsb2NpdHkgUmV3YXJkcw b64decode: stdin: /dev/stdout: error decoding base64 input stream % b64decode -r VmVsb2NpdHkgUmV3YXJkcw== Velocity Rewards % >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806190027.m5J0Rmbn006890>