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/htsencoding.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/htsencoding.h') diff --git a/src/htsencoding.h b/src/htsencoding.h index 01def33..ad5fee3 100644 --- a/src/htsencoding.h +++ b/src/htsencoding.h @@ -86,8 +86,7 @@ extern int hts_unescapeUrl(const char *src, char *dest, const size_t max); * Note: source and destination MUST NOT be the same. * Returns 0 upon success, -1 upon overflow or error. **/ -extern int hts_unescapeUrlSpecial(const char *src, - char *dest, const size_t max, - int flags); +extern int hts_unescapeUrlSpecial(const char *src, char *dest, const size_t max, + const int flags); #endif -- cgit v1.2.3