Files
ghostty/src
Mitchell Hashimoto 6995fd7f10 fix: alloc free off by one (#8886)
Fix provided by @jcollie 

The swift `open_config` action was triggering an allocation error
`error(gpa): Allocation size 41 bytes does not match free size 40.`.

> A string that was created as a `[:0]const u8` was cast to `[]const u8`
and then freed. The sentinel is the off-by-one.

@jcollie 

For full context, see
https://discord.com/channels/1005603569187160125/1420367156071239820

Co-authored-by: Jeffrey C. Ollie <jcollie@dmacc.edu>
2025-09-26 06:58:10 -07:00
..
2025-09-24 12:30:37 -07:00
2025-09-24 17:47:29 -05:00
2025-09-25 16:39:11 -04:00
2025-09-24 12:45:21 -07:00
2025-09-25 06:52:58 -07:00
2025-01-18 22:47:18 +09:00
2025-09-24 12:50:25 -07:00
2025-07-19 14:03:48 -07:00
2025-09-24 12:36:50 -07:00
2025-07-09 15:06:24 -07:00
2024-08-16 14:35:10 -07:00
2025-07-09 15:06:24 -07:00
2022-08-18 11:42:32 -07:00
2025-06-21 14:11:50 -07:00
2025-05-09 10:01:05 -07:00
2024-08-16 10:36:10 -07:00