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 668650 - GRealArray->clear_func should be initialized
GRealArray->clear_func should be initialized
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2012-01-25 11:02 UTC by Guillaume Desmottes
Modified: 2012-01-25 11:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GArray: initialize the clear_func pointer (769 bytes, patch)
2012-01-25 11:04 UTC, Guillaume Desmottes
committed Details | Review

Description Guillaume Desmottes 2012-01-25 11:02:38 UTC
Not doing so raise a lot of invalid read.

Patch on the way.
Comment 1 Guillaume Desmottes 2012-01-25 11:04:13 UTC
Created attachment 206074 [details] [review]
GArray: initialize the clear_func pointer
Comment 2 Emmanuele Bassi (:ebassi) 2012-01-25 11:33:55 UTC
Review of attachment 206074 [details] [review]:

nice catch. looks good to me.
Comment 3 Guillaume Desmottes 2012-01-25 11:37:55 UTC
Attachment 206074 [details] pushed as ca94975 - GArray: initialize the clear_func pointer