Ticket #103 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.