Description of problem:
When I was testing some data in my project I realized that g_base64_encode
cannot encode data with length=1, it just returns NULL and shows a runtime
warning on console that assertion length>1 failed. I think it's obvious bug, I
should be able to encode one byte data to base64. Hence severity high.
Version-Release number of selected component (if applicable):
I'm not sure if it's in this package, but probably it is: glibc-2.7-2
Reassigning glib -> glibc
Fixed in upstream svn
2007-11-23 Matthias Clasen <email@example.com>
* glib/gbase64.c (g_base64_encode): Don't refuse to encode
a single byte. (Milan Crha)
* tests/base64-test.c: Test encoding short strings.