Corrected interpretation of some return values during -find -exec list_extattr. Coverity CID 28704.
This commit is contained in:
parent
185dc4ce42
commit
df49e23bcf
@ -1013,15 +1013,20 @@ int Xorriso_list_extattr(struct XorrisO *xorriso, void *in_node, char *path,
|
||||
break;
|
||||
if((size_t) (upt - uval) < value_lengths[i]) {
|
||||
strcpy(line, "echo 'OMITTED: Value contains 0-bytes : space \"'\"");
|
||||
Xorriso_append_extattr_comp(xorriso, space_pt, strlen(space_pt), "e", 1);
|
||||
ret= Xorriso_append_extattr_comp(xorriso, space_pt, strlen(space_pt),
|
||||
"e", 1);
|
||||
if(ret <= 0)
|
||||
goto ex;
|
||||
strcat(line, "\"'\" , name \"'\"");
|
||||
Xorriso_append_extattr_comp(xorriso, name_pt, strlen(name_pt), "e", 1);
|
||||
ret= Xorriso_append_extattr_comp(xorriso, name_pt, strlen(name_pt),
|
||||
"e", 1);
|
||||
if(ret <= 0)
|
||||
goto ex;
|
||||
strcat(line, "\"'\" in file '\"");
|
||||
Xorriso_append_extattr_comp(xorriso, path_pt, strlen(path_pt), "e", 1);
|
||||
ret= Xorriso_append_extattr_comp(xorriso, path_pt, strlen(path_pt),
|
||||
"e", 1);
|
||||
if(ret <= 0)
|
||||
goto ex;
|
||||
strcat(line, "\" >&2\n");
|
||||
|
||||
/* temporarily disable -backslash_codes with result output */
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2015.11.08.161658"
|
||||
#define Xorriso_timestamP "2015.11.08.163431"
|
||||
|
Loading…
Reference in New Issue
Block a user