[Rpm-maint] [rpm] Remove size limit when expanding macros (#32)
Lubos Kardos
notifications at github.com
Thu Nov 19 10:25:15 UTC 2015
>
> - rc = expandMacros(spec, spec->macros, spec->lbuf, spec->lbufSize);
> - if (rc) {
> + spec->lbuf = expandMacros(spec, spec->macros, lbuf);
Here you rewrite spec->lbuf but the memory at which spec->lbuf pointed previously is not deallocated anywhere.
---
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/32/files#r45323213
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20151119/5bc3fa51/attachment.html>
More information about the Rpm-maint
mailing list