Skip to content

Commit 87dbae9

Browse files
author
Marc Stern
committed
assert(input != NULL);
1 parent 907d61a commit 87dbae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apache2/msc_util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ char *utf8_unicode_inplace_ex(apr_pool_t *mp, unsigned char *input, long int inp
112112
unsigned int bytes_left = input_len;
113113
unsigned char *unicode = NULL;
114114

115-
if (input == NULL) return NULL;
115+
assert(input != NULL);
116116

117117
*changed = 0;
118118
/* RFC3629 states that UTF-8 are encoded using sequences of 1 to 4 octets. */

0 commit comments

Comments
 (0)