Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 1997 20:47:45 +0100 (MET)
From:      Guido van Rooij <guido@gvr.win.tue.nl>
To:        dillon@best.net (Matt Dillon)
Cc:        gurney_j@resnet.uoregon.edu, top@sonic.cris.net, audit-bin@FreeBSD.ORG, FreeBSD-hackers@FreeBSD.ORG
Subject:   Re: hmm
Message-ID:  <199702211947.UAA09374@gvr.win.tue.nl>
In-Reply-To: <199702202322.PAA19571@flea.best.net> from Matt Dillon at "Feb 20, 97 03:22:27 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> :> > > underneath btw:
> :> > > 	if (*p != '\0' && p[strlen(p) - 1] == '[') {
> :> > > 	    ^^^^^^^^^^
> :Hmm...After rereading this, I think I have it wrong :-(). That's what you get
> :with quick answers. The check is indeed necessary.
> :
> :-Guido
> 
>     The check should probably be in there, but it not being there is not
>     likely to cause a security hole since page 0 is write-protected on FreeBSD
>     machines.

Nono, I didn;t mean the check for p==NULL or not; I meant the check
for p!="" (or equivalently: *p!='\0')

-Guido



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702211947.UAA09374>