Re: [pacman-dev] [RFC] [PATCH] Implement a du --apparent-size equivalent

2016-06-13 Thread Alastair Hughes
On 6/12/16, Allan McRae wrote: > On 11/06/16 17:53, Alastair Hughes wrote: >> From: Alastair Hughes >> >> Add a pkgsize binary which mimics the behaviour of GNU du --apparent-size >> -skl. >> Fixes FS#47943. >> >> Signed-off-by: Alastair Hughes >> --- >> I haven't done much C programming before

Re: [pacman-dev] [PATCH] Fix out of boundary reads in pacsort.

2016-06-13 Thread Rikard Falkeborn
2016-06-09 23:16 GMT+02:00 Tobias Stoeckmann : > ... > You can trigger it by running this command: > > $ echo -e "-.pkg.tar.xz\n-.pkg.tar.xz" | pacsort -k 99 -t '\0' > Segmentation fault > > ... > $ echo "-/.pkg.tar.xz" | pacsort > Segmentation fault > > Could these two cases be added to pac

Re: [pacman-dev] [PATCH] Prevent stack overflow on symbolic link access.

2016-06-13 Thread Andrew Gregory
On 06/06/16 at 08:27pm, Tobias Stoeckmann wrote: > On Mon, Jun 06, 2016 at 01:27:52AM -0400, Andrew Gregory wrote: > > Since we're already talking about unlikely scenarios... My reading of > > readlink(2) and readlink(3p) suggest this might still run into > > problems on oddly configured systems.