[pacman-dev] [PATCH] validate %FILEPATH% when parsing repo dbs

Allan McRae allan at archlinux.org
Thu May 9 02:48:24 EDT 2013

On 09/05/13 16:40, Simon Gomizelj wrote:
>     size_t cache_len = strlen(db->handle->dbpath) + strlen(db->handle->root);
> Do we actually need to recalculate this each time? Maybe its worth
> cacheing somewhere. I'm sure there's more validation that could be
> done within pacman.
> I'll leave the min length for now.

Why? What does three characters give you that one does not?  I'm
assuming an "a.Z" extension.  By why do we need an extension?


More information about the pacman-dev mailing list