Skip to content

Commit

Permalink
fix null pointer dereference in stb_image.h
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdd96 committed Mar 19, 2023
1 parent 90bce37 commit 2432751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stb_image.c
Expand Up @@ -5408,7 +5408,7 @@ static stbi_uc *stbi__pic_load(stbi__context *s,int *px,int *py,int *comp,int re

if (!stbi__pic_load_core(s,x,y,comp, result)) {
STBI_FREE(result);
result=0;
return 0;
}
*px = x;
*py = y;
Expand Down

0 comments on commit 2432751

Please sign in to comment.