From b221fca03170ae91ee7079bedd508868c34b3855 Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Fri, 8 Feb 2013 14:48:47 +0000 Subject: [PATCH] Fixed security warning for a non-constant format string. --- SUUIBasedUpdateDriver.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SUUIBasedUpdateDriver.m b/SUUIBasedUpdateDriver.m index dc37e056..fffdfd40 100644 --- a/SUUIBasedUpdateDriver.m +++ b/SUUIBasedUpdateDriver.m @@ -201,7 +201,7 @@ - (void)abortUpdateWithError:(NSError *)error { - NSAlert *alert = [NSAlert alertWithMessageText:SULocalizedString(@"Update Error!", nil) defaultButton:SULocalizedString(@"Cancel Update", nil) alternateButton:nil otherButton:nil informativeTextWithFormat:[error localizedDescription]]; + NSAlert *alert = [NSAlert alertWithMessageText:SULocalizedString(@"Update Error!", nil) defaultButton:SULocalizedString(@"Cancel Update", nil) alternateButton:nil otherButton:nil informativeTextWithFormat:@"%@", [error localizedDescription]]; [self showModalAlert:alert]; [super abortUpdateWithError:error]; }