Corrected an error with conversion from bourne shell patterns to regular expressions. Coverity CID 28727.
This commit is contained in:
parent
7e260ee39c
commit
870241f57c
@ -1203,11 +1203,12 @@ int Xorriso__bourne_to_reg(char bourne_expr[], char reg_expr[], int flag)
|
||||
*(wpt++)= '!';
|
||||
}
|
||||
break;case '^':
|
||||
if(in_square_brackets)
|
||||
if(in_square_brackets) {
|
||||
*(wpt++)= '^';
|
||||
else
|
||||
} else {
|
||||
*(wpt++)= '\\';
|
||||
*(wpt++)= '^';
|
||||
}
|
||||
break;case '$':
|
||||
*(wpt++)= '\\';
|
||||
*(wpt++)= '$';
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2015.11.10.090901"
|
||||
#define Xorriso_timestamP "2015.11.10.094015"
|
||||
|
Loading…
Reference in New Issue
Block a user