View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001794 | SOGo | SOPE | public | 2012-05-09 07:40 | 2012-05-09 12:55 |
| Reporter | buzzdee | Assigned To | ludovic | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 1.3.14 | ||||
| Fixed in Version | 1.3.15 | ||||
| Summary | 0001794: Exception in OGo when uploading calendars via GroupDAV | ||||
| Description | This happens on 64Bit platforms, with gnustep-base 1.24.0. Its due to the comparison o fa NSNotFound with a unsigned int variable. Attached patch fixes the problem for me, switching the unsigned int to NSUInteger. tested on OpenBSD 5.1 amd64 | ||||
| Additional Information | please consider this patch for inclusion in SOPE 1.3.15 | ||||
| Tags | No tags attached. | ||||
|
2012-05-09 07:40
|
patch-sope-xml_SaxObjC_SaxAttributes_m (443 bytes)
$OpenBSD$
Fix Exception in OGo when uploading a calendar.
--- sope-xml/SaxObjC/SaxAttributes.m.orig Tue May 8 18:58:16 2012
+++ sope-xml/SaxObjC/SaxAttributes.m Tue May 8 18:58:38 2012
@@ -185,7 +185,7 @@
return [self valueAtIndex:i];
}
- (NSString *)valueForName:(NSString *)_localName uri:(NSString *)_uri {
- unsigned int i;
+ NSUInteger i;
if ((i = [self indexOfName:_localName uri:_uri]) == NSNotFound)
return nil;
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-05-09 07:40 | buzzdee | New Issue | |
| 2012-05-09 07:40 | buzzdee | File Added: patch-sope-xml_SaxObjC_SaxAttributes_m | |
| 2012-05-09 12:55 | ludovic | Note Added: 0003870 | |
| 2012-05-09 12:55 | ludovic | Status | new => resolved |
| 2012-05-09 12:55 | ludovic | Fixed in Version | => 1.3.15 |
| 2012-05-09 12:55 | ludovic | Resolution | open => fixed |
| 2012-05-09 12:55 | ludovic | Assigned To | => ludovic |
| 2012-05-09 12:55 | ludovic | Status | resolved => closed |