Make static analysis happy.

This commit is contained in:
Ryan C. Gordon 2014-08-19 10:55:56 -04:00
parent 53ef674270
commit c9f40346bc
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ static char *findBinaryInPath(const char *bin, char *envr)
binlen = strlen(bin);
size = strlen(start) + binlen + 2;
if (size > alloc_size)
if (size >= alloc_size)
{
char *x = (char *) allocator.Realloc(exe, size);
if (!x)