HvD: The code checked whether the RunTime DataBase (RTDB) handle was in the allowed range. However, if it was the code did not check whether the handle is associated with an active RTDB or not. As a result certain coding errors were not detected. The checks in the code have now been extended. All routines apart from rtdb_open will now fail if issued on an inactive RTDB (rtdb_open is the exception because it initializes the handle). Also rtdb_close will now make the associated handle inactive. So passing around uninitialized handles or using handles of closed RTDBs and such errors will now be more likely to be detected.
HvD: The code checked whether the RunTime DataBase (RTDB) handle was in the
allowed range. However, if it was the code did not check whether the handle is
associated with an active RTDB or not. As a result certain coding errors were
not detected.
The checks in the code have now been extended. All routines apart from rtdb_open
will now fail if issued on an inactive RTDB (rtdb_open is the exception because
it initializes the handle). Also rtdb_close will now make the associated handle
inactive. So passing around uninitialized handles or using handles of closed
RTDBs and such errors will now be more likely to be detected.





rangsimanketkaew/NWChem