Ticket #103 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Segmentation fault in printFullDescription()

Reported by: Knut Landmark Owned by:
Priority: major Milestone:
Component: zoo-kernel Version:
Keywords: Cc:

Description

The following lines in the function printFullDescription (service_internal.c) causes a segmentation fault in some situations, namely if the pointer e->supported is NULL (tested on Windows 7):

if(_tmp0==NULL){
   xmlAddChild(nc6,nc8);
   _tmp0=e->supported;
   if(getMap(_tmp0->content,"range")!=NULL ||
      getMap(_tmp0->content,"rangeMin")!=NULL ||
      getMap(_tmp0->content,"rangeMax")!=NULL ||
      getMap(_tmp0->content,"rangeClosure")!=NULL ) { 
      tmp1=_tmp0->content;
      goto doRange;
   }
}

Change History

Changed 6 years ago by djay

  • status changed from new to closed
  • resolution set to fixed

Thanks for noticing this dirty mistake.

This is now fixed in r507.

Note: See TracTickets for help on using tickets.

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