Fix leak in `purple_markup_find_tag` on error

Review Request #924 — Created Sept. 14, 2021 and submitted

Information

pidgin/pidgin
release-2.x.y

Reviewers

The output is set to NULL, but the internal data list is not freed if it happened to get something put into it.

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35816

Ran pidgin_utils_fuzzer on the test case in the bug report.

Summary ID
Fix leak in `purple_markup_find_tag` on error
The output is set to `NULL`, but the internal data list is not freed if it happened to get something put into it. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35816
2413b60268db439de08b68d739bc3b0218137a4f
QuLogic
grim
  1. Ship It!
  2. 
      
grim
grim
Review request changed

Status: Closed (submitted)

Loading...