Fix buffer overrun from commit 4420c78beb
The newly handled ^ needs to be accounted for when allocating memory. Found when testing #1936, goes to show what a useful thing that is.
This commit is contained in:
parent
0f0fa49170
commit
19d73f6788
|
@ -1107,6 +1107,7 @@ static char * mireDup(rpmTagVal tag, rpmMireMode *modep,
|
|||
case '.':
|
||||
case '+':
|
||||
case '*':
|
||||
case '^':
|
||||
if (!brackets) nb++;
|
||||
break;
|
||||
case '\\':
|
||||
|
|
Loading…
Reference in New Issue