Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix of crashes in the DS setup dialog and in freeing explicit descrip…
…tor, if statement that used it has been free'd prior to that. Setup dialog crashed after test of connection. The reason was that connection function in driver after successful stored pointer to the DSN structure it used in the DBC object. And setup lib passed pointer to the structure allocated on stack. The patch makes caller decide whether to store DSN pointer or not. Stmt destructor did not check if ard and apd are explicitly allocated, and always free'd them. That lead to the crash when application attempted to free such descriptor afterwards. Also patch contains minor changes such as change of the project name and amendments to couple of testcases.
- Loading branch information
Showing
6 changed files
with
76 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters