lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 20 Jul 2015 13:43:40 -0700 From: Stephen Hemminger <stephen@...workplumber.org> To: Vadim Kochan <vadim4j@...il.com> Cc: netdev@...r.kernel.org Subject: Re: [PATCH iproute2] ss: Fix crash when dump stats from /proc with '-p' On Mon, 20 Jul 2015 22:46:23 +0300 Vadim Kochan <vadim4j@...il.com> wrote: > + if (s->name) > + free(s->name); Please don't add unnecessary conditional. free(NULL) is defined to do nothing. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html