Skip to content

Commit 5012446

Browse files
committed
Add assert for multipart boundary
1 parent 1634a2a commit 5012446

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apache2/msc_multipart.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -993,6 +993,7 @@ int multipart_init(modsec_rec *msr, char **error_msg) {
993993
*/
994994
int multipart_complete(modsec_rec *msr, char **error_msg) {
995995
assert(msr != NULL);
996+
assert(msr->boundary != NULL);
996997
assert(error_msg != NULL);
997998
if (msr->mpd == NULL) return 1;
998999

0 commit comments

Comments
 (0)