~jjardon/glib/trunk

Viewing all changes in revision 16608.

  • Committer: Philip Withnall
  • Date: 2017-01-12 09:04:38 UTC
  • Revision ID: git-v1:88e977266b92516b15f384e3990d90af557e0574
gregex: Fix a potential use-after-free bug

If the match_info out argument is NULL, info will be freed, but then its
matches member will be accessed.

Spotted by Leslie Zhai <xiangzhai83@gmail.com>.

https://bugzilla.gnome.org/show_bug.cgi?id=777077

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: