[Rpm-maint] [rpm-software-management/rpm] Fix Icon tag crash on src.rpm build, regression in 4.15.0 (RhBug:1769579) (#930)

Panu Matilainen notifications at github.com
Fri Nov 8 10:34:51 UTC 2019


Commit e68eb68c4a6c3635b8cf58a05277f7da49058d16 introduced a regression
on Icon tag causing a crash on source rpm build, due to spec->numSources
being off by one if an icon was present.
    
A nicer fix would be eliminating numSources entirely but it's not as
easy as it should be due to dynamic buildrequires messing with it,
leaving that for another time.

The second commit fixes a recently introduced memory leak.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Fix Icon tag crash on src.rpm build, regression in 4.15.0 (RhBug:1769579)
  * Fix a memleak from uncompressed payload digest calculation

-- File Changes --

    M build/pack.c (1)
    M build/parsePreamble.c (1)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/930
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191108/1887eb74/attachment-0001.html>


More information about the Rpm-maint mailing list