Fix core dump when calling stbi write jpg
Fix core dump when calling stbi write jpg: a task in github-trending-environments-10k (Harbor dataset). Title: Fix core dump when calling stbi write jpg
The task
**Title:** Fix core dump when calling stbi_write_jpg