Re: Memory leak in ifconfig

Simon Josefsson via Bug reports for the GNU Internet utilities <[email protected]>
Newsgroups gmane.comp.gnu.inetutils.bugs
Message-ID <[email protected]>
AiDai <[email protected]> writes:

> Direct leak of 64 byte(s) in 1 object(s) allocated from:
>     #0 0x494bdd in malloc
> (/root/disk2/fuzzing/inetutils/fuzz/bin/ifconfig+0x494bdd)
>     #1 0x4e0330 in linux_if_nameindex
> /root/disk2/fuzzing/inetutils/inetutils/ifconfig/./system/linux.c:948:11
>     #2 0x4cbfd5 in parse_cmdline
> /root/disk2/fuzzing/inetutils/inetutils/ifconfig/options.c:678:22
>     #3 0x4c432c in main
> /root/disk2/fuzzing/inetutils/inetutils/ifconfig/ifconfig.c:56:3

Thank you, I could reproduce it and fixed it here:

https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=6599d2be88c4e44ef88470aef16bf10bd7d67884

/Simon
signature.asc (application/pgp-signature, 255 B)
-----BEGIN PGP SIGNATURE-----

iIoEARYIADIWIQSjzJyHC50xCrrUzy9RcisI/kdFogUCYsc1LBQcc2ltb25Aam9z
ZWZzc29uLm9yZwAKCRBRcisI/kdFolHjAQDMUgw1LGGkIK3dJk9Uk1bmz50jn5aQ
84qLTtGHwD+jyAEA/bEi04ikhrIonZjjYEPXS09k6EcQ0jjSQUvT/MV86wY=
=1UIZ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.