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

Tobias Stoeckmann tobias at stoeckmann.org
Sat Jun 18 16:44:01 UTC 2016

On Mon, Jun 13, 2016 at 04:01:17PM +1000, Allan McRae wrote:
> Fixing that strndup is preferable.  I want to keep the ability to handle
> \0 delimited fields given that is what pacman --machinereadable does
> (despite that option not being ubiquitous at the moment...)

If \0 is a valid field _and_ line delimiter, the parsed input becomes
ambiguous. How is that supposed to be handled?


More information about the pacman-dev mailing list