[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Acl-devel] memory leak - __acl_init_obj, __new_var_obj_p
From: |
Andreas Stieger |
Subject: |
Re: [Acl-devel] memory leak - __acl_init_obj, __new_var_obj_p |
Date: |
Wed, 15 Jul 2015 12:49:14 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
Hello,
On 07/15/2015 12:37 PM, Mike Frysinger wrote:
> On 14 Jul 2015 11:45, Andreas Stieger wrote:
>>> [ 124s] =================================================================
>>> != ~
>>> [ 124s] ==7762==ERROR: LeakSanitizer: detected memory leaks != ~
>>> [ 124s] != ~
>>> [ 124s] Indirect leak of 216 byte(s) in 1 object(s) allocated from: != ~
>>> [ 124s] #0 0x7f94b5001c4a in malloc (/usr/lib64/libasan.so.2+0x96c4a)
>>> != ~
>>> [ 124s] #1 0x7f94b4d610bc in __acl_init_obj
>>> (/home/abuild/rpmbuild/BUILD/acl-2.2.52/libacl/.libs/libacl.so.1+0x70bc) !=
>>> ~
>>> [ 124s] != ~
>>> [ 124s] Indirect leak of 56 byte(s) in 1 object(s) allocated from: != ~
>>> [ 124s] #0 0x7f94b5001c4a in malloc (/usr/lib64/libasan.so.2+0x96c4a)
>>> != ~
>>> [ 124s] #1 0x7f94b4d6423a in __new_var_obj_p
>>> (/home/abuild/rpmbuild/BUILD/acl-2.2.52/libacl/.libs/libacl.so.1+0xa23a) !=
>>> ~
>>> [ 124s] != ~
>>> [ 124s] SUMMARY: AddressSanitizer: 272 byte(s) leaked in 2 allocation(s).
>>> != ~
>>
>> This is probably a minor concern, but maybe the above makes sense to fix?
>
> what is the actual test case ?
Running the test suite - make root-tests, when building with
-ffsanitize=address.
Andreas
--
Andreas Stieger <address@hidden>
Project Manager Security
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu,
Graham Norton, HRB 21284 (AG Nürnberg)