View Issue Details

IDProjectCategoryView StatusLast Update
0001794SOGoSOPEpublic2012-05-09 08:55
Reporterbuzzdee Assigned Toludovic  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.14 
Fixed in Version1.3.15 
Summary0001794: 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

TagsNo tags attached.

Activities

2012-05-09 03: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;
ludovic

ludovic

2012-05-09 08:55

administrator   ~0003870

Fix applied: http://mtn.inverse.ca/revision/diff/3726e7db829b5ee868cdc21f61798d973f1482d4/with/87432dfeaa5feaee87a4ed6d05a7bb339c095278

Issue History

Date Modified Username Field Change
2012-05-09 03:40 buzzdee New Issue
2012-05-09 03:40 buzzdee File Added: patch-sope-xml_SaxObjC_SaxAttributes_m
2012-05-09 08:55 ludovic Note Added: 0003870
2012-05-09 08:55 ludovic Status new => resolved
2012-05-09 08:55 ludovic Fixed in Version => 1.3.15
2012-05-09 08:55 ludovic Resolution open => fixed
2012-05-09 08:55 ludovic Assigned To => ludovic
2012-05-09 08:55 ludovic Status resolved => closed