diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-02 15:13:29 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-02 15:13:29 +0000 |
commit | 5544f503bf0fcfd050b4e338e8ec7b22e2f53b9a (patch) | |
tree | 2d65f1fd285c450cbb1c676697ad13b5a47a835c /src/htshelp.c | |
parent | b3fa8537c411e6e2d53044b1d5d20c361d2ad17d (diff) |
Big cleanup in functions writing to a char buffer without proper size boundary.
Diffstat (limited to 'src/htshelp.c')
-rw-r--r-- | src/htshelp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |