Re: Bug in base64, new module base32

2011-09-26 Thread Gijs van Tulder
well. free-ing some things during the test fixes it for me. See the attached patch. Gijs >From b6fc2265435c095a519072792348b585674608a1 Mon Sep 17 00:00:00 2001 From: Gijs van Tulder Date: Mon, 26 Sep 2011 19:52:59 +0200 Subject: [PATCH] Solve memory leaks in base32 and base64 te

Re: Bug in base64, new module base32

2011-09-25 Thread Gijs van Tulder
Thanks, Gijs >From 51155c9f4215141465d7d97f6180ea2c6e020bad Mon Sep 17 00:00:00 2001 From: Gijs van Tulder Date: Sun, 25 Sep 2011 14:00:59 +0200 Subject: [PATCH] Add base32 module. --- lib/base32.c | 588 ++ lib/base32.h | 61 +

Re: Bug in base64, new module base32

2011-08-11 Thread Gijs van Tulder
Bruno Haible wrote: >> + * See also RFC 3548. > > Would is not be better to refer to RFC 4648 > ? It obsoletes the older RFC > 3548. Yes, that would be better. (This is one of the things I copied from the base64 module.)

Re: Bug in base64, new module base32

2011-08-10 Thread Gijs van Tulder
Paul Eggert wrote: Thanks for the base64 bug report and patch; I applied it, Thanks. (That's quick!) As for the base32 part, would you be willing to assign the copyright to the Free Software Foundation, so that we could install it in gnulib? Certainly. How do I do that? Gijs

Bug in base64, new module base32

2011-08-10 Thread Gijs van Tulder
yte to the buffer size it works. (See patch 1.) -- The reason I found this bug was that I was working on a base32 module. I need a base32 encoding/decoding module, but Gnulib doesn't have one. In patch 2, I included a new module based on the base64 code that is already in Gnulib. Kind rega