mirror of
https://github.com/curl/curl.git
synced 2026-08-05 02:36:13 +03:00
Don't search filter outside of variable
This commit is contained in:
parent
60ba96ea83
commit
b5d5771a5a
1 changed files with 1 additions and 2 deletions
|
|
@ -810,8 +810,7 @@ void ourWriteOut(struct OperationConfig *config, struct per_transfer *per,
|
|||
fputs("%{", stream);
|
||||
continue;
|
||||
}
|
||||
if(filter) {
|
||||
|
||||
if(filter && filter < end) {
|
||||
vlen = filter - ptr;
|
||||
|
||||
filter += 1; /* remove the : */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue