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

Rikard Falkeborn rikard.falkeborn at gmail.com
Mon Jun 13 19:30:07 UTC 2016


2016-06-09 23:16 GMT+02:00 Tobias Stoeckmann <tobias at stoeckmann.org>:

> ...
> You can trigger it by running this command:
>
> $ echo -e "-.pkg.tar.xz\n-.pkg.tar.xz" | pacsort -k 999999 -t '\0'
> Segmentation fault
>
> ...


> $ echo "-/.pkg.tar.xz" | pacsort
> Segmentation fault
>
>
Could these two cases be added to pacman/test/util/pacsorttest.sh?

Rikard


More information about the pacman-dev mailing list