Date: Sun, 20 Nov 2005 12:12:31 +0000 (UTC) From: Lukas Ertl <le@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/geom/vinum geom_vinum_rename.c Message-ID: <200511201212.jAKCCV2c026067@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
le 2005-11-20 12:12:31 UTC FreeBSD src repository Modified files: sys/geom/vinum geom_vinum_rename.c Log: Always declare variables at the start of the function. Don't allocate potentially large variables on the stack. Check strsep() return values when the string comes from userland. Shorten variable names for lucidity's sake. most of the stuff: Pointed out by: njl@ Revision Changes Path 1.2 +110 -47 src/sys/geom/vinum/geom_vinum_rename.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511201212.jAKCCV2c026067>