xsscx / xnuimagefuzzer

XNU Image Fuzzer - iOS App for Fuzzing Images with Objective-C Code covering 12 CGCreateBitmap & CGColorSpace Functions working with Raw Data and String Injection.
https://srd.cx/xnu-image-fuzzer/
GNU General Public License v3.0
35 stars 2 forks source link

PATCH: createBitmapContextStandardRGB #1

Closed xsscx closed 8 months ago

xsscx commented 8 months ago

PATCH the createBitmapContextStandardRGB function for better performance, error handling, and clarity, and to address the potential oversight with applyEnhancedFuzzingToBitmapContext not directly manipulating the rawData buffer allocated for the bitmap context.

FIX: https://github.com/xsscx/xnuimagefuzzer/commit/3dd11310641703d440b19ad9124b82d95f4b41a7