From 5544f503bf0fcfd050b4e338e8ec7b22e2f53b9a Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Fri, 2 May 2014 15:13:29 +0000 Subject: Big cleanup in functions writing to a char buffer without proper size boundary. --- src/htshelp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/htshelp.c') diff --git a/src/htshelp.c b/src/htshelp.c index c5eb955..165e2a7 100644 --- a/src/htshelp.c +++ b/src/htshelp.c @@ -401,7 +401,7 @@ void help_catchurl(const char *dest_path) { { char BIGSTK finalurl[HTS_URLMAXSIZE * 2]; - escape_check_url(dest); + inplace_escape_check_url(dest, sizeof(dest)); sprintf(finalurl, "%s" POSTTOK "file:%s", url, dest); printf("\nThe URL is: \"%s\"\n", finalurl); printf("You can capture it through: httrack \"%s\"\n", finalurl); -- cgit v1.2.3