[Rpm-maint] [rpm-software-management/rpm] Fix potential segfault in file trigger code (PR #3570)

Panu Matilainen notifications at github.com
Wed Feb 12 13:38:22 UTC 2025


The latter packageHashGetEntry() could cause 'te' set to NULL and consequently crash when indexed later. This was indirectly fixed in e0633683d5380d0bd3e264dea2a8f07ba5fd5262, this is a separate backport.

Suggested-by: Michael Schroeder <mls at suse.de>

Fixes: #3500
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Fix potential segfault in file trigger code

-- File Changes --

    M lib/rpmtriggers.c (15)

-- Patch Links --

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

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

Message ID: <rpm-software-management/rpm/pull/3570 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250212/f87d6d6b/attachment.htm>


More information about the Rpm-maint mailing list