]> git.ipfire.org Git - thirdparty/gettext.git/commit
libcroco: Fix double-free and free-after-use bug.
authorBruno Haible <bruno@clisp.org>
Sun, 3 Aug 2025 18:02:26 +0000 (20:02 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 3 Aug 2025 18:02:26 +0000 (20:02 +0200)
commitae52c096d7df406074d82eabdfc7720e09d0c070
treeced4f7019aaae31778c018322238508a8e814196
parent6fa3d8eca2cea1adc024189f35ae76481a190f40
libcroco: Fix double-free and free-after-use bug.

Reported by Coverity.

* libtextstyle/gnulib-local/lib/libcroco/cr-sel-eng.c
(cr_sel_eng_unregister_pseudo_class_sel_handler): Don't access or free 'elem'
after it has been freed. Remove always-NULL variable.
libtextstyle/gnulib-local/lib/libcroco/cr-sel-eng.c