phroxy

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/phroxy.git
Log | Files | Refs | LICENSE

commit 5f318d5ec96f8ca1d8d51c6a4f19581048299a09
parent 2c475361f8d8ed00d0ed93d88b3a2152c34a2e3b
Author: Willy Goiffon <dev@z3bra.org>
Date:   Fri, 11 Sep 2020 22:41:09 +0200

Prevent bug due to uninitialized value

Diffstat:
Mphroxy.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phroxy.c b/phroxy.c @@ -293,7 +293,7 @@ phroxy(char *url) int sock; size_t len; char item, *hole, *path, *host, *port; - char *data; + char *data = NULL; hole = url + 1; hole = strsep(&hole, "/");