Date: Sat, 22 Nov 2014 17:09:04 -0500 From: Ted Unangst <tedu@tedunangst.com> To: freebsd-hackers@freebsd.org Subject: fix base64.c "overrun" Message-ID: <6a4308e3ce1d4835be5caef3f96b0c50@tedunangst.com>
next in thread | raw e-mail | index | archive | help
>From inspection, it appears FreeBSD's libc base64.c will sometimes erroneously fail to decode a base64 string into a precisely sized buffer. The overflow check is a little too greedy. The same bug was fixed in OpenBSD; it would be helpful if FreeBSD adopted the fix as well. :) http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libc/net/base64.c.diff?r1=1.6&r2=1.7
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a4308e3ce1d4835be5caef3f96b0c50>