aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/str_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'wsutil/str_util.h')
-rw-r--r--wsutil/str_util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/wsutil/str_util.h b/wsutil/str_util.h
index 0651e6844f..88efee4074 100644
--- a/wsutil/str_util.h
+++ b/wsutil/str_util.h
@@ -214,7 +214,8 @@ WS_DLL_PUBLIC
char *ws_strdup_underline(wmem_allocator_t *allocator, long offset, size_t len);
/** Given a wmem scope, a not-necessarily-null-terminated string,
- * expected to be in UTF-8 and the length of the string,
+ * expected to be in UTF-8 but possibly containing invalid sequences
+ * (as it may have come from packet data), and the length of the string,
* generate a valid UTF-8 string from it, allocated in the specified
* wmem scope, that:
*