View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002744 | SOGo | Web Calendar | public | 2014-04-29 18:01 | 2014-04-29 18:28 |
Reporter | dab1818 | Assigned To | francis | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x86_64 | OS | gentoo linux | OS Version | 2.2 |
Product Version | 2.2.3 | ||||
Fixed in Version | 2.2.4 | ||||
Summary | 0002744: sogod crashed on create Event or Task in Calendar | ||||
Description | integer overflow on 64bit system in UI/Scheduler/UIxComponentEditor.m | ||||
Steps To Reproduce | open Calendar | ||||
Additional Information | EXCEPTION: <NSException: 0x7ff35d2c10f8> NAME:NSRangeException REASON:Index -1 is out of range 16 (in 'objectAtIndex:') INFO:{Array = ("5_MINUTES_BEFORE", "10_MINUTES_BEFORE", "15_MINUTES_BEFORE", "30_MINUTES_BEFORE", "45_MINUTES_BEFORE", "-", "1_HOUR_BEFORE", "2_HOURS_BEFORE", "5_HOURS_BEFORE", "15_HOURS_BEFORE", "-", "1_DAY_BEFORE", "2_DAYS_BEFORE", "1_WEEK_BEFORE", "-", CUSTOM); Count = 16; Index = 4294967295; } | ||||
Tags | No tags attached. | ||||
UIxComponentEditor.m.patch (406 bytes)
--- ./UI/Scheduler/UIxComponentEditor.m.orig 2014-04-03 18:12:17.000000000 +0400 +++ ./UI/Scheduler/UIxComponentEditor.m 2014-04-29 17:57:22.000000000 +0400 @@ -1162,7 +1162,7 @@ if ([[self clientObject] isNew]) { NSString *value; - int index; + NSUInteger index; value = [userDefaults calendarDefaultReminder]; index = [reminderValues indexOfObject: value]; |
|
Fixed. Thanks! https://github.com/inverse-inc/sogo/commit/8c563c2922a1f6acc996c4260ba0509282c50a20 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2014-04-29 18:01 | dab1818 | New Issue | |
2014-04-29 18:01 | dab1818 | File Added: UIxComponentEditor.m.patch | |
2014-04-29 18:28 | francis | Note Added: 0006977 | |
2014-04-29 18:28 | francis | Status | new => resolved |
2014-04-29 18:28 | francis | Fixed in Version | => 2.2.4 |
2014-04-29 18:28 | francis | Resolution | open => fixed |
2014-04-29 18:28 | francis | Assigned To | => francis |