Giovanni Campagna
eebb3647a1
gbase64: fix introspection annotations
...
Makes the g_base64_* functions usable from introspection GLib bindings
(gjs, currently, as both vala and pygobject use manual bindings for
GLib)
https://bugzilla.gnome.org/show_bug.cgi?id=646635
2011-05-11 20:10:25 +02:00
Matthias Clasen
5d4ef36f91
Whitespace cleanup
2010-09-03 19:34:28 -04:00
Matthias Clasen
489b780bb9
Remove redundant header inclusions
2010-09-03 19:32:02 -04:00
Matthias Clasen
b5bda64a73
Fix up a doc typo
2010-08-08 23:55:11 -04:00
Ryan Lortie
a00fa340cb
base64: remove unnecessary assertions
...
Allow base64 encoding/decoding of empty strings.
2010-07-07 22:18:47 -04:00
Ryan Lortie
2e53e50244
glib/: fully remove galias hacks
2010-07-07 19:34:35 -04:00
Matthias Clasen
dd7bd61c53
Documentation improvement
...
Document the size requirements on output buffer in g_base64_encode_close.
Patch by Christian Persch, bug 609564.
2010-02-21 16:04:21 -05:00
Craig Loftus
a465508e2d
Migrate gbase64 docs from SGML template to inline comments
...
Fixes bug #589649 .
Signed-off-by: David King <davidk@openismus.com>
2009-08-10 15:40:01 +02:00
Dan Winship
92ac8d165e
Misc warning fixes
...
glib/pcre/pcre_ucp_search_funcs.c, glib/pcre/pcre_valid_utf8.c: add
back missing config.h includes, and this time add them to the copies
in glib/update-pcre/ too so they don't get lost again on the next PCRE
update.
glib/garray.c, glib/gbase64.c: fix signed/unsigned pointer casts
gio/xdgmime/xdgmimeglob.c: remove unused variable
gio/tests/live-g-file.c: fix printf args on x86_64
tests/Makefile.am, tests/regex-test.c: remove redundant -DENABLE_REGEX
2009-05-01 10:37:45 -04:00
Matthias Clasen
2ad1af5b1e
Avoid integer overflows in the base64 functions. Fixes CVE-2008-4316
...
2009-03-12 Matthias Clasen <mclasen@redhat.com>
* glib/gbase64.c: Avoid integer overflows in the base64
functions. Fixes CVE-2008-4316
svn path=/trunk/; revision=7973
2009-03-12 13:30:55 +00:00
Matthias Clasen
f548330275
Fix "it's" vs "its" confusion throughout the source. Patch by Will
...
* Fix "it's" vs "its" confusion throughout the source. Patch
by Will Thompson.
svn path=/trunk/; revision=7897
2009-02-23 04:30:06 +00:00
Matthias Clasen
c8dd07333a
Bug 564728 Add function to decode base64 encoded data in place
...
2009-01-13 Matthias Clasen <mclasen@redhat.com>
Bug 564728 Add function to decode base64 encoded data in place
* glib/glib.symbols:
* glib/gbase64.[hc] (g_base64_decode_inplace): New convenience
API to decode in place, overwriting the input string. Patch by
Sebastian Dröge.
svn path=/trunk/; revision=7807
2009-01-13 19:59:32 +00:00
Matthias Clasen
78c06eafe1
Don't refuse to encode a single byte. (Milan Crha)
...
2007-11-23 Matthias Clasen <mclasen@redhat.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.
svn path=/trunk/; revision=5919
2007-11-23 17:58:00 +00:00
Matthias Clasen
29a0692575
Documentation improvements. ( #496518 , Stefan Schulze Frielinghaus)
...
2007-11-18 Matthias Clasen <mclasen@redhat.com>
* glib/gbase64.c: Documentation improvements. (#496518 ,
Stefan Schulze Frielinghaus)
svn path=/trunk/; revision=5864
2007-11-19 03:39:37 +00:00
Matthias Clasen
c182fecfa1
Warn if the input is too short. ( #418862 , Halton Huo)
...
2007-03-16 Matthias Clasen <mclasen@redhat.com>
* glib/gbase64.c (g_base64_decode): Warn if the input
is too short. (#418862 , Halton Huo)
svn path=/trunk/; revision=5417
2007-03-16 19:50:14 +00:00
Matthias Clasen
5ae803a47f
Add NULL checks to the base64 functions that take pointers. ( #399611 ,
...
2007-03-06 Matthias Clasen <mclasen@redhat.com>
* glib/gbase64.c: Add NULL checks to the base64
functions that take pointers. (#399611 , Martyn Russell)
svn path=/trunk/; revision=5371
2007-03-06 05:36:57 +00:00
Matthias Clasen
5f4e467f33
Fix typos in the docs. ( #346660 , Mark Drago)
...
2006-07-05 Matthias Clasen <mclasen@redhat.com>
* glib/gbase64.c: Fix typos in the docs. (#346660 , Mark
Drago)
2006-07-05 16:42:19 +00:00
Alexander Larsson
ac059df75b
Fix OOB write ( #340538 )
...
2006-05-04 Alexander Larsson <alexl@redhat.com>
* glib/gbase64.c: (g_base64_decode_step):
Fix OOB write (#340538 )
2006-05-04 15:53:36 +00:00
Matthias Clasen
6324ed6b34
Add base64 docs
2006-04-05 03:19:30 +00:00
Alexander Larsson
5cf8f1d4a8
Add base64 encode/decode functions
...
2006-04-04 Alexander Larsson <alexl@redhat.com>
* glib/Makefile.am:
* glib/gbase64.[ch]:
* glib/glib.symbols:
Add base64 encode/decode functions
* glib/glib.h:
Include gbase64.h
* tests/Makefile.am:
* tests/base64-test.c:
Tests for base64 functions
2006-04-04 13:03:23 +00:00