Date: Fri, 25 Feb 2005 11:50:34 -0800 From: Sam Leffler <sam@errno.com> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/puc puc.c Message-ID: <421F818A.4020701@errno.com> In-Reply-To: <200502251947.j1PJlIXU003272@repoman.freebsd.org> References: <200502251947.j1PJlIXU003272@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Sam Leffler wrote: > sam 2005-02-25 19:47:18 UTC > > FreeBSD src repository > > Modified files: > sys/dev/puc puc.c > Log: > fail gracefully rather than using an invalid array index if unable > to allocate a bar; it's unclear whether this can happen in practice If someone can convince themself that we can never fail then feel free to change this code to a KASSERT or similar... Sam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?421F818A.4020701>