]> git.michaelhowe.org Git - packages/o/openafs.git/commit
macos: do not quit prefpane unexpectedly
authorMarcio Barbosa <mbarbosa@sinenomine.net>
Fri, 11 Nov 2016 21:21:58 +0000 (13:21 -0800)
committerStephan Wiesand <stephan.wiesand@desy.de>
Fri, 9 Dec 2016 12:33:36 +0000 (07:33 -0500)
commit8e02acba7c9b83f4689ec3e3328ff5273c9b55d9
tree0364a066706b9a511af422b28fc844e1066ad2c4
parent4689beab7d29fce190eb1333204adfb484a3f145
macos: do not quit prefpane unexpectedly

If the user opens the OpenAFS preference pane and choose the Mounts
tab, the preference pane crashes.

To fix the problem, do not assume that we can cast a NSdictionary
object to NSMutableDictionary.

Reviewed-on: https://gerrit.openafs.org/12446
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit 9d4be0bd01696768602a313f627a802b358b5885)

Change-Id: I7ff8c6cbc599f3e80d6365d9a56587bf5c641f5b
Reviewed-on: https://gerrit.openafs.org/12447
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Joe Gorse <jhgorse@gmail.com>
Tested-by: Joe Gorse <jhgorse@gmail.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/platform/DARWIN/AFSPreference/AFSBackgrounder/AFSBackgrounderDelegate.m
src/platform/DARWIN/AFSPreference/AFSCommanderPref.m