Re: [Rpm-maint] [rpm-software-management/rpm] Buffer overflow in doFoo() (#1019)

2020-02-10 Thread Panu Matilainen
Closed #1019 via 94623389ba61a3a93decc726ed63e52cca7b3d39. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[Rpm-maint] [rpm-software-management/rpm] Buffer overflow in doFoo() (#1019)

2020-01-27 Thread Michael Schroeder
doFoo() contains this: ``` if (expand) { (void) expandThis(mb, g, gn, ); } else { buf = xmalloc(MACROBUFSIZ + fn + gn); buf[0] = '\0'; } ``` If `expand` is true (which is the default), expandThis() will allocate the buffer, rounding up the size of the