Prevented potential NULL pointer dereference. Coverity CID 28759.
This commit is contained in:
parent
9664b1fabf
commit
b913720b55
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
/* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images.
|
/* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images.
|
||||||
|
|
||||||
Copyright 2007-2014 Thomas Schmitt, <scdbackup@gmx.net>
|
Copyright 2007-2015 Thomas Schmitt, <scdbackup@gmx.net>
|
||||||
|
|
||||||
Provided under GPL version 2 or later.
|
Provided under GPL version 2 or later.
|
||||||
|
|
||||||
@ -464,7 +464,7 @@ int Findjob_new_node(struct FindjoB *job, struct ExprnodE **fnode,
|
|||||||
char *origin, int flag)
|
char *origin, int flag)
|
||||||
/*
|
/*
|
||||||
bit0= open new branch
|
bit0= open new branch
|
||||||
bit1= with bit1 : do not register as sub-node of job->cursor
|
bit1= with bit0 : do not register as sub-node of job->cursor
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
@ -489,6 +489,7 @@ int Findjob_new_node(struct FindjoB *job, struct ExprnodE **fnode,
|
|||||||
job->cursor->sub= f;
|
job->cursor->sub= f;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
if(job->cursor != NULL)
|
||||||
f->up= job->cursor->up;
|
f->up= job->cursor->up;
|
||||||
f->left= job->cursor;
|
f->left= job->cursor;
|
||||||
if(job->cursor!=NULL)
|
if(job->cursor!=NULL)
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2015.11.03.154102"
|
#define Xorriso_timestamP "2015.11.03.155015"
|
||||||
|
Loading…
Reference in New Issue
Block a user