This leak has been there ever since rpm 4.7.0, so pretty close to 15 years. 
ASAN would've caught it, if it had it been tested. Oops. Of course, in the 
fakechroot era we couldn't have tested installation but we could've at 
least tested the parsing side.

Add tests for parsing, query and install functionality, and fix the leak that 
is now very visible.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/3031

-- Commit Summary --

  * Fix an ancient memleak on %caps() parsing, add tests

-- File Changes --

    M build/files.c (1)
    M tests/rpmbuild.at (30)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/3031.patch
https://github.com/rpm-software-management/rpm/pull/3031.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3031
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to