[pacman-dev] Missing sanity checks for path -> weird behaviors and segfaults

Xavier shiningxc at gmail.com
Mon Jul 23 04:09:04 EDT 2007


On Sun, Jul 22, 2007 at 07:27:39PM -0400, Dan McGee wrote:
> On 7/22/07, Xavier <shiningxc at gmail.com> wrote:
> This is something I've been putting off but definitely needs doing. We
> need to do some checks both in the front end and back end for valid
> path specifications.

Maybe for all paths, there could be a sanity check in the backend, and a safe
default in frontend ?
That would fix the problem for RootDir at least.
But for CacheDir isn't there a bigger problem, or is it just that I don't 
understand how that code works?




More information about the pacman-dev mailing list