Fix a buffer overflow. Which accounted for the size of the path, plus the the
authorEric Andersen <andersen@codepoet.org>
Fri, 4 May 2001 20:47:33 +0000 (20:47 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 4 May 2001 20:47:33 +0000 (20:47 -0000)
commit7526f035f4feea48d4c686a2c5c484c4175976f9
tree7e7a5c8f8b620362138967edc83a20fda3e0a346
parente5ffb911e89f244c7edcfe197c71b4b5e5955310
Fix a buffer overflow.  Which accounted for the size of the path, plus the the
'/', plus the size of the test command.  It did not account for the terminating
NULL, which overwrote the end of the string.
 -Erik
findutils/which.c
which.c