nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] File browser crash


From: David Benbennick
Subject: Re: [Nano-devel] File browser crash
Date: Thu, 30 Jan 2003 18:45:32 -0500
User-agent: Mutt/1.2.5.1i

On Wed, Jan 29, 2003 at 08:45:21PM -0500, David Benbennick wrote:
> 4) The file browser can still crash.  Make a directory foo/ with a
> subdirectory foo/bar/.  Also make a directory alice/, that contains a
> symlink bob to /tmp/.  Make alice/ non-readable.  Open the file browser in
> alice/bob/, then select "..".  Nano is careful to check that alice/bob/..
> (the root directory) is readable, but then opens the browser at alice/,
> which is not readable.

This patch fixes the problem.  Also, I beep() in cases where Pico does it,
and change the operating_dir message in this spot.  (You can leave the
operating directory by selecting a symlink to a directory.)

Attachment: dir.patch
Description: Text document

Attachment: pgpGFgCgFAGzT.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]