[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dwarves-dfsg: FTBFS on hurd-i386 (for review)


It looks like that in the while loop of cut__load_dir you can leak if
you enter in one

                if (err != 0)

Those are at lines 1379, 1388 and 1392 of the original file.

You should replace them with:

                if (err != 0) {
                         free (pathname);

Lancelot SIX

Le 02/04/2014 11:54, Svante Signell a écrit :
Source: dwarves-dfsg
Version: 1.10-2
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd


Currently dwarves-dfsg fails to build from source due to PATH_MAX being used, and that constant is not defined on GNU/Hurd. The attached patch avoid using PATH_MAX by allocating strings by malloc and free them when
not needed any longer.


Reply to: