Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2003 23:58:17 -0500
From:      "Andrew Lankford" <arlankfo@141.com>
To:        stable@freebsd.org
Subject:   This looks like a bug to me....
Message-ID:  <20030129045804.MORR15239.out012.verizon.net@verizon.net>

next in thread | raw e-mail | index | archive | help

In the vicinity of line 405 of /usr/src/usr.bin/find/function.c 
( in f_delete() ) we have the following:

        /* Potentially unsafe - do not accept relative paths whatsoever */
          if (strchr(entry->fts_accpath, '/') != NULL)
		  errx(1, "-delete: %s: relative path potentially not safe",
			entry->fts_accpath);

Shouldn't the NULL really be entry->fts_accpath instead?

Andrew Lankford

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030129045804.MORR15239.out012.verizon.net>