Date: Sat, 14 Mar 2009 20:40:06 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/security/mac_portacl mac_portacl.c Message-ID: <200903142040.n2EKeVi5066195@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2009-03-14 20:40:06 UTC FreeBSD src repository Modified files: sys/security/mac_portacl mac_portacl.c Log: SVN rev 189830 on 2009-03-14 20:40:06Z by pjd - Correct logic in if statement - we want to allocate temporary buffer when someone is passing new rules, not when he only want to read them. Because of this bug, even if the given rules were incorrect, they ended up in rule_string. - Add missing protection for rule_string when coping it. Reviewed by: rwatson MFC after: 1 week Revision Changes Path 1.21 +3 -1 src/sys/security/mac_portacl/mac_portacl.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903142040.n2EKeVi5066195>