In Chromium we decided to make malloc_error_break() fatal by overriding it in order to catch heap corruption closer to the source, hopefully before it smashes our stack. We noticed that on 10.5 the size of this function is too small to override, so we needed to patch this.
In Chromium we decided to make malloc_error_break() fatal by overriding it in order to catch heap corruption closer to the source, hopefully before it smashes our stack. We noticed that on 10.5 the size of this function is too small to override, so we needed to patch this.