Custom Query (98 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1 - 3 of 98)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#86 fixed Modifications needed to handle requests over https protocol Knut Landmark
Description

The Zoo kernel contains at least three if statements that check if the protocol of a URL is http (or ftp). These statements must be modified if Zoo is to handle requests over the https protocol. Attached are modified versions of zoo_service_internal.c (modified in lines 1214 and 1976) and zoo_service_loader.c (modified from line 1182). These changes pertain to revision # 452 in the source code repository.

#87 fixed Segmentation fault in updateStatus method Knut Landmark
Description

The Zoo kernel provides the option to store a status message in shared memory along with the status value (i.e. the progress in percent), see this ticket: http://zoo-project.org/trac/ticket/81. However, the current implementation of updateStatus (service_internal.c, revision # 452) does not check if getMapFromMaps(conf,"lenv","message") returns NULL. A segmentation fault occurs (line 115) if a message value has not been set in the service code before a call to updateStatus:

// OK:
setMapInMaps( conf, "lenv", "status", "99" );
setMapInMaps( conf, "lenv", "message", "Progress: 99%" );
updateStatus( conf );

// Segmentation fault:
setMapInMaps( conf, "lenv", "status", "99" );	
updateStatus( conf ); 

(Tested on a Window 7 system.)

#89 fixed Memory buffer overflow Knut Landmark
Description

The following code in service_internal.c (from line 2006, revision 456) generates errors (on Windows 7 platform) due to insufficient memory allocation (malloc needs to allocate bytes for the forward slash characters in the URLs, lines 2007 and 2010).

	if(strncasecmp(tmp2->value,"http://",7)==0){
	  file_url=(char*)malloc((strlen(tmp2->value)+strlen(file_name))*sizeof(char));
	  sprintf(file_url,"%s/%s",tmp2->value,file_name);
	}else{
	  file_url=(char*)malloc((strlen(tmp3->value)+strlen(tmp2->value)+strlen(file_name))*sizeof(char));
	  sprintf(file_url,"%s/%s/%s",tmp3->value,tmp2->value,file_name);
	}

Possibly, the if statement should also be modified to take into account the https protocol.

1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png