Hi

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

                if (err != 0)
                        break;

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

You should replace them with:

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

BR
Lancelot SIX

Le 02/04/2014 11:54, Svante Signell a écrit :
Source: dwarves-dfsg
Version: 1.10-2
Severity: important
Tags: patch
User: [email protected]
Usertags: hurd

Hi,

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.

Thanks!



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
https://lists.debian.org/[email protected]

Reply via email to