Re: patch(1): basename(3) can fail

2023-07-12 Thread Theo Buehler
On Wed, Jul 12, 2023 at 12:53:10PM +0200, Florian Obser wrote: > So I was sufficiently bored during breakfast and decided to run afl > against patch... > > basename(3) can fail thusly: > ERRORS > The following error codes may be set in errno: > > [ENAMETOOLONG] The path component to

patch(1): basename(3) can fail

2023-07-12 Thread Florian Obser
So I was sufficiently bored during breakfast and decided to run afl against patch... basename(3) can fail thusly: ERRORS The following error codes may be set in errno: [ENAMETOOLONG] The path component to be returned was larger than PATH_MAX. and then strlen