Closed jspavlick closed 7 years ago
We had a crash in production on line 94 with EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000 I can reproduce this by setting either buffer1.data and/or buffer2.data to NULL (malloc() will naturally return NULL if the system is out of memory)
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000
buffer1.data
buffer2.data
NULL
malloc()
This fixes said issue.
Thank you for an otherwise brilliant library.
Hey @nicklockwood I made the changes you requested.
👍
We had a crash in production on line 94 with
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000
I can reproduce this by setting eitherbuffer1.data
and/orbuffer2.data
toNULL
(malloc()
will naturally return NULL if the system is out of memory)This fixes said issue.