NTIA / itm

The Irregular Terrain Model (ITM)
Other
44 stars 25 forks source link

ITMDrvr does not check for failure to load `ITM_AREA_CR_Ex` from the ITM DLL #11

Closed aromanielloNTIA closed 3 months ago

aromanielloNTIA commented 9 months ago

There is a typo here which causes the loading of ITM_AREA_TLS_Ex to be checked a second time, and causes no check to be performed on the loading of ITM_AREA_CR_Ex.

Most likely this would not cause real problems, since the correct error should already be returned in the case of a failure to load the first function, and the program should otherwise crash if an attempt is made to call the ITM_AREA_CR_Ex function after a failure to load it.

This does not impact the ITM DLL, just the ITMDrvr