Skip to content

Commit 923abe7

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 4420572 commit 923abe7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

source/jst_post.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -856,6 +856,7 @@ static void process_multipart_form_data(char* content_data, int content_len, cha
856856
if(!post_data)
857857
{
858858
CosaPhpExtLog("failed to allocate post data copy\n");
859+
post_data = NULL;
859860
}
860861
}
861862

0 commit comments

Comments
 (0)