projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd3c304
)
Put back extra info if it was present
author
Gé van Geldorp
<ge@gse.nl>
Sun, 11 Dec 2005 21:24:27 +0000
(21:24 +0000)
committer
Gé van Geldorp
<ge@gse.nl>
Sun, 11 Dec 2005 21:24:27 +0000
(21:24 +0000)
svn path=/trunk/; revision=20085
reactos/lib/wininet/http.c
patch
|
blob
|
history
diff --git
a/reactos/lib/wininet/http.c
b/reactos/lib/wininet/http.c
index
47ee33d
..
9eb39d0
100644
(file)
--- a/
reactos/lib/wininet/http.c
+++ b/
reactos/lib/wininet/http.c
@@
-1369,6
+1369,10
@@
static BOOL HTTP_HandleRedirect(LPWININETHTTPREQW lpwhr, LPCWSTR lpszUrl, LPCWST
if (urlComponents.nPort == INTERNET_INVALID_PORT_NUMBER)
urlComponents.nPort = INTERNET_DEFAULT_HTTP_PORT;
+ if (sizeof(path) / sizeof(path[0]) <= strlenW(path) + strlenW(extra))
+ return FALSE;
+ strcatW(path, extra);
+
#if 0
/*
* This upsets redirects to binary files on sourceforge.net