Skip to content

Commit

Permalink
assert(input != NULL);
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Stern committed Nov 4, 2024
1 parent 907d61a commit 87dbae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apache2/msc_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ char *utf8_unicode_inplace_ex(apr_pool_t *mp, unsigned char *input, long int inp
unsigned int bytes_left = input_len;
unsigned char *unicode = NULL;

if (input == NULL) return NULL;
assert(input != NULL);

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

0 comments on commit 87dbae9

Please sign in to comment.