[php-src] Issue #8136: ftp_nlist memory leak
| From: | pyrsmk | Date: | Tue, 22 Feb 2022 14:54:15 +0000 |
| Subject: | [php-src] Issue #8136: ftp_nlist memory leak | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239966@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8136
Comment Author: pyrsmk
I didn't know about valgrind, thanks! I will help a lot. Here's the summary:
```
==11546== HEAP SUMMARY:
==11546== in use at exit: 2,191,374 bytes in 19,166 blocks
==11546== total heap usage: 21,419 allocs, 2,253 frees, 2,842,480 bytes allocated
==11546==
==11546== LEAK SUMMARY:
==11546== definitely lost: 24,672 bytes in 771 blocks
==11546== indirectly lost: 40 bytes in 1 blocks
==11546== possibly lost: 1,723,560 bytes in 13,611 blocks
==11546== still reachable: 443,102 bytes in 4,783 blocks
==11546== suppressed: 0 bytes in 0 blocks
```
I found that those results are stable between two runs with a different duration so it does not
seems to come from
ftp_nlist after all.
I don't understand where this leak is. I'll dig this up more and will come back later.