rohrpost

A commandline mail client to change the world as we see it.
git clone git://r-36.net/rohrpost
Log | Files | Refs | LICENSE

commit 3c36af4748cd8f0b941085113d53b4baaa801eee
parent 4ea5edb75b238c6ca704690100128f1fe95e1d7b
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sun,  2 Apr 2017 21:49:35 +0200

Fixing a segfault in new code.

Diffstat:
base64.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base64.c b/base64.c @@ -87,7 +87,7 @@ b64dec(char *istr, int *len) /* * If there is something prepended to the base64 block, take it as-is. */ - for (uglyline = 1; uglyline == 1; l = p) { + for (uglyline = 1, l = 0; uglyline == 1; l = p) { uglyline = 0; for (; istr[l] != '\n' && istr[l]; l++) { if (istr[l] == ' ')