|
From: | Andreas Gruenbacher |
Subject: | Re: [bug-patch] [PATCH] do not validate target name when it is specified on the command line |
Date: | Mon, 14 Feb 2011 01:16:56 +0100 |
User-agent: | KMail/1.13.5 (Linux/2.6.34.7-0.4-desktop; KDE/4.4.4; x86_64; ; ) |
On Thursday 10 February 2011 13:19:54 Jim Meyering wrote: > There are several ways to fix it... That's true about this entire issue ... In the current heuristic to determine which file to patch [*], we could also skip absolute filenames and filenames with ".." components, and maybe warn if those filenames would have been chosen. That way we would end up with the usual "File to patch:" question in interactive mode, which would be more in line with patch's historic behavior. Any thoughts? Thanks, Andreas
[Prev in Thread] | Current Thread | [Next in Thread] |