[mapguide-trac] #842: Null pointer checks needed for GetExtent

MapGuide Open Source trac_mapguide at osgeo.org
Wed Feb 11 19:49:33 EST 2009


#842: Null pointer checks needed for GetExtent
--------------------------+-------------------------------------------------
 Reporter:  tomfukushima  |         Owner:        
     Type:  defect        |        Status:  closed
 Priority:  medium        |     Milestone:  2.1   
Component:  Web API       |       Version:  2.0.1 
 Severity:  minor         |    Resolution:  fixed 
 Keywords:                |   External_id:        
--------------------------+-------------------------------------------------
Changes (by tomfukushima):

  * status:  new => closed
  * resolution:  => fixed

Old description:

> Calling GetExtent on an empty SDF will result in null pointer exceptions.
> These changes change the behavior of the API so that instead of getting a
> fatal exception, we get NULL back from the call.
>
> Note that this fix changes the behavior of the GetExtent API in that
> instead of throwing an exception, NULL is returned.

New description:

 Calling !GetExtent on an empty SDF will result in null pointer exceptions.
 These changes change the behavior of the API so that instead of getting a
 fatal exception, we get NULL back from the call.

 Note that this fix changes the behavior of the !GetExtent API in that
 instead of throwing an exception, NULL is returned.

Comment:

 r3612 and r3613

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/842#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list