]> granicus.if.org Git - curl/commit
parseurl: move back buffer to function scope
authorDaniel Stenberg <daniel@haxx.se>
Tue, 17 Jan 2017 23:01:03 +0000 (00:01 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 17 Jan 2017 23:01:03 +0000 (00:01 +0100)
commite9f45aa91ba3937388c44673f296ba68597e6432
treeb472f952cebada5da6656ec72c4ff47c4f8161aa
parentafd1564215970f75439ac4e83a7974efa8c739c6
parseurl: move back buffer to function scope

Regression since 1d4202ad, which moved the buffer into a more narrow
scope, but the data in that buffer was used outside of that more narrow
scope.

Reported-by: Dan Fandrich
Bug: https://curl.haxx.se/mail/lib-2017-01/0093.html
lib/url.c