After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 756103 - Skip g_base64_decode_step() in introspection
Skip g_base64_decode_step() in introspection
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: introspection
2.46.x
Other All
: Normal minor
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2015-10-06 00:51 UTC by Mikhail Zabaluev
Modified: 2017-09-11 19:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Skip g_base64_decode_step() in introspection (1.23 KB, patch)
2015-10-06 00:51 UTC, Mikhail Zabaluev
committed Details | Review

Description Mikhail Zabaluev 2015-10-06 00:51:06 UTC
The length of the caller-allocated (that flag was missing; added as well)
output array is calculated by a formula, so none of the usual array length
annotations apply. The state parameters need to be initialized with zero.

Just let them use the basic API.
Comment 1 Mikhail Zabaluev 2015-10-06 00:51:12 UTC
Created attachment 312700 [details] [review]
Skip g_base64_decode_step() in introspection
Comment 2 Philip Withnall 2017-09-11 19:44:33 UTC
Review of attachment 312700 [details] [review]:

++
Comment 3 Philip Withnall 2017-09-11 19:45:14 UTC
Attachment 312700 [details] pushed as 01544c9 - Skip g_base64_decode_step() in introspection