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.
|
||||
|
||||
Copyright 2007-2014 Thomas Schmitt, <scdbackup@gmx.net>
|
||||
Copyright 2007-2015 Thomas Schmitt, <scdbackup@gmx.net>
|
||||
|
||||
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)
|
||||
/*
|
||||
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;
|
||||
@ -489,7 +489,8 @@ int Findjob_new_node(struct FindjoB *job, struct ExprnodE **fnode,
|
||||
job->cursor->sub= f;
|
||||
}
|
||||
} else {
|
||||
f->up= job->cursor->up;
|
||||
if(job->cursor != NULL)
|
||||
f->up= job->cursor->up;
|
||||
f->left= job->cursor;
|
||||
if(job->cursor!=NULL)
|
||||
job->cursor->right= f;
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2015.11.03.154102"
|
||||
#define Xorriso_timestamP "2015.11.03.155015"
|
||||
|
Loading…
Reference in New Issue
Block a user