Hi!

On Wed, 2014-12-03 at 05:14:10 +0100, Andreas Beckmann wrote:
> On 2014-12-02 06:01, Guillem Jover wrote:
> > I guess you set the severity to important, because it would avoid
> > having to fix the affected package? How many packages are we talking
> > about? Is it just that one?
> 
> No, I filed #771753 immediately afterwards.
> 
> There are probably only two source packages buggy:
> http://codesearch.debian.net/search?q=symlink_to_dir\s%2B\S%2B%2F\s%2B
> 
> let me file another bug against db5.3 :-)

Ah, ok, thanks!

> > I guess I could use your proposed fix (for both symlink_to_dir and
> > dir_to_symlink) or use «realphat -m» over the symlink or pathname, but
> > I'd need to carefully ponder about the consequences. I'd rather do this
> > if at all for 1.18.x, but that would defeat your bug report I guess. :)
> 
> If you don't want to fix it in dpkg, please reassign to lintian to add a
> check that performs argument validation on these calls.

Ok, I've implemented the following for 1.18.x. Change symlink_to_dir() to
error out if the symlink ends in a slash, and changed dir_to_symlink() to
strip the ending slash if it's present.

Thanks,
Guillem


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to