79095619

Date: 2024-10-16 19:52:10
Score: 0.5
Natty:
Report link

In an effort to enforce tighter memory safety, iOS 18 introduced new memory allocation features:

The system memory allocator (malloc(3)) has switched to a new implementation for most allocation sizes. Users might experience exposure of latent memory access bugs due to changes in heap layout, differences in performance for allocation-heavy workloads, and changes in fragmentation. (127493322)

This likely includes changes in how memory allocation for zero-sized buffers is handled to guard against information disclosure and other memory safety issues.

According to the malloc documentation:

Crashes in memory allocators are almost always related to heap corruption, such as overflowing an allocated chunk...

You are not checking the return status of the AudioConverterGetProperty function. Check that maxPacketSize is initialized and not zero as a result of this call. Also check that the size is actually sufficient.

iOS & iPadOS 18 Release Notes
malloc(3) — Linux manual page

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Gallonallen