Changes between Initial Version and Version 2 of Ticket #4836


Ignore:
Timestamp:
Sep 29, 2012, 10:11:22 PM (12 years ago)
Author:
Leith Bade
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4836

    • Property Summary OCTTransform and OCTTransformEx do not check for NULL pointer[patch] OCTTransform and OCTTransformEx do not check for NULL pointer
  • Ticket #4836 – Description

    initial v2  
    22{{{OCTTransform}}} and {{{OCTTransformEx}}}.
    33
    4 The functions do not check if {{{hTransform}}} is {{{NULL}}} before they call
    5 {{{hTransform->Transform()}}}
    6 .
     4The functions do not check if {{{hTransform}}} is {{{NULL}}} before they call {{{hTransform->Transform()}}}.
    75
    86As such if the caller passes in {{{NULL}}} (say because creating the coordinate transformation failed on some previous step) the program crashes.
     
    108I have attached a patch against latest SVN trunk.
    119
    12 I the code compiles but I was not able to autotest it as trunk autotest was crashing my Python.
     10The code compiles but I was not able to autotest it as trunk autotest was crashing my Python.