xserver/hw/xquartz
Jeremy Huddleston Sequoia 9e2fc7e248 xquartz: Fix a possible crash when editing the Application menu due to mutaing immutable arrays
Crashing on exception: -[__NSCFArray replaceObjectAtIndex:withObject:]: mutating method sent to immutable object

Application Specific Backtrace 0:
0   CoreFoundation                      0x00007ff80d2c5e9b __exceptionPreprocess + 242
1   libobjc.A.dylib                     0x00007ff80d027e48 objc_exception_throw + 48
2   CoreFoundation                      0x00007ff80d38167b _CFThrowFormattedException + 194
3   CoreFoundation                      0x00007ff80d382a25 -[__NSCFArray removeObjectAtIndex:].cold.1 + 0
4   CoreFoundation                      0x00007ff80d2e6c0b -[__NSCFArray replaceObjectAtIndex:withObject:] + 119
5   X11.bin                             0x00000001003180f9 -[X11Controller tableView:setObjectValue:forTableColumn:row:] + 169

Fixes: https://github.com/XQuartz/XQuartz/issues/267
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
(cherry picked from commit dfd057996b)
2022-07-02 14:25:47 -07:00
..
GL xquartz: Allocate each fbconfig separately 2021-02-20 17:29:40 -08:00
bundle xquartz: Use correct defines when building to support Sparkle updates 2022-07-01 14:37:01 -07:00
mach-startup XQuartz: Build the bundle trampoline when using meson 2022-06-26 03:03:26 -07:00
man Fix typo "XQaurtz" in Xquartz.man 2021-02-01 16:21:39 -08:00
pbproxy xquartz: Update autotools-based builds of XQuartz to account for recent changes 2022-06-21 11:54:06 -07:00
xpr xquartz: Call PseudoramiXExtensionInit() through InitOutput() just like xwin 2021-04-07 16:11:59 -07:00
Makefile.am xquartz: Update autotools-based builds of XQuartz to account for recent changes 2022-06-21 11:54:06 -07:00
NSUserDefaults+XQuartzDefaults.h xquartz: Fold spaces related preferences into NSUserDefaults+XQuartzDefaults 2022-06-14 23:36:40 -07:00
NSUserDefaults+XQuartzDefaults.m xquartz: Fold spaces related preferences into NSUserDefaults+XQuartzDefaults 2022-06-14 23:36:40 -07:00
X11Application.h xquartz: Create a separate category for organizing user preferences 2022-06-14 23:36:39 -07:00
X11Application.m XQuartz: Ensure scroll events are delivered to a single window (not both X11 and AppKit) 2022-06-16 07:27:38 -07:00
X11Controller.h xquartz: Convert X11Controller ivars into @properties 2021-02-18 22:32:14 -08:00
X11Controller.m xquartz: Fix a possible crash when editing the Application menu due to mutaing immutable arrays 2022-07-02 14:25:47 -07:00
applewm.c xquartz: Fold quartzCommon.h into quartz.h 2021-02-18 22:32:14 -08:00
applewmExt.h xquartz: Remove support for older versions of libXplugin 2021-02-01 16:21:39 -08:00
darwin.c Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
darwin.h XQuartz: Source formatting cleanup 2012-03-24 01:07:06 -07:00
darwinEvents.c XQuartz: Silence an expected TSan warning 2016-09-22 14:55:03 -07:00
darwinEvents.h XQuartz: darwinPointer now sends both absolute and relative motion 2012-04-23 20:20:42 -07:00
darwinXinput.c ddx: add new call to purge input devices that weren't added 2016-10-26 15:35:07 +10:00
darwinfb.h XQuartz: Fix darwinfb.h header guard 2014-01-12 23:12:48 -08:00
keysym2ucs.c Use ARRAY_SIZE all over the tree 2017-10-30 13:45:20 -04:00
keysym2ucs.h Use ARRAY_SIZE all over the tree 2017-10-30 13:45:20 -04:00
meson.build xquartz: Use correct defines when building to support Sparkle updates 2022-07-01 14:37:01 -07:00
quartz.c xquartz: Create a separate category for organizing user preferences 2022-06-14 23:36:39 -07:00
quartz.h xquartz: Fold quartzCommon.h into quartz.h 2021-02-18 22:32:14 -08:00
quartzKeyboard.c xquartz: Ensure we call into TIS on the main thread 2021-02-17 09:53:33 -08:00
quartzKeyboard.h XQuartz: Source formatting cleanup 2012-03-24 01:07:06 -07:00
quartzRandR.c xquartz: Fold quartzCommon.h into quartz.h 2021-02-18 22:32:14 -08:00
quartzRandR.h XQuartz: Source formatting cleanup 2012-03-24 01:07:06 -07:00
quartzStartup.c xquartz: Fold quartzCommon.h into quartz.h 2021-02-18 22:32:14 -08:00
sanitizedCarbon.h XQuartz: Source formatting cleanup 2012-03-24 01:07:06 -07:00
sanitizedCocoa.h XQuartz: Source formatting cleanup 2012-03-24 01:07:06 -07:00