1
Vote

Bad Access when adding query options

description

File DataServiceQuery.m line 446 is causing bad access error because the same parameter name "tmp" is used when declaring an NSString.
This is my proposal for the fix:
 
NSString *queryOption = [m_other objectAtIndex:index];
    if(queryOption)
    {
        NSString *tmp = [[NSString alloc] initWithFormat:@"%@%@&",query,queryOption];
        [query release];
        query = [[NSString alloc] initWithString:tmp];
        [tmp release];
    }

comments

abub wrote Dec 17, 2010 at 10:48 PM

Thanks for reporting this issue. We are starting the implementation of the next version of the library so we will fix this issue too.
Schedule is not final but we should have the new version released at the beginning of Jan.
Abu Obeida

CTapang wrote Mar 12, 2011 at 1:30 AM

Fixed in Version 1.2.