Increase size of argv[] array to avoid running off the end.
Reported by: Coverity CID: 1193819 MFC after: 1 week
This commit is contained in:
parent
afe674f089
commit
4b426307e5
@ -88,7 +88,7 @@ static void usage(void);
|
|||||||
static int
|
static int
|
||||||
execldd32(char *file, char *fmt1, char *fmt2, int aflag, int vflag)
|
execldd32(char *file, char *fmt1, char *fmt2, int aflag, int vflag)
|
||||||
{
|
{
|
||||||
char *argv[8];
|
char *argv[9];
|
||||||
int i, rval, status;
|
int i, rval, status;
|
||||||
|
|
||||||
LDD_UNSETENV("TRACE_LOADED_OBJECTS");
|
LDD_UNSETENV("TRACE_LOADED_OBJECTS");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user