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 686178 - Fix invalid array size
Fix invalid array size
Status: RESOLVED FIXED
Product: gtk-vnc
Classification: Other
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-vnc-maint
gtk-vnc-maint
Depends on:
Blocks:
 
 
Reported: 2012-10-15 18:23 UTC by Marc-Andre Lureau
Modified: 2012-12-04 11:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix invalid array size (2.53 KB, patch)
2012-10-15 18:23 UTC, Marc-Andre Lureau
none Details | Review

Description Marc-Andre Lureau 2012-10-15 18:23:22 UTC
Avoid further out of bound access.
Also simplify other code using G_N_ELEMENTS.
Comment 1 Marc-Andre Lureau 2012-10-15 18:23:24 UTC
Created attachment 226500 [details] [review]
Fix invalid array size
Comment 2 Daniel P. Berrange 2012-12-04 11:07:09 UTC
Thanks, applied to master