Issue Details (XML | Word | Printable)

Key: CORE-984
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dmitry Yemanov
Reporter: Thomas Stamm
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

fbclient.dll changes the security descriptor of the calling process.

Created: 30/Oct/06 09:07 AM   Updated: 24/Jul/07 08:13 AM
Component/s: API / Client Library
Affects Version/s: 2.0 RC5
Fix Version/s: 2.1 Beta 1, 2.0.2

Time Tracking:
Not Specified

Environment: Windows XP
Issue Links:
Duplicate
 


 Description  « Hide
Using the fbclient dll (open an connection to an database) seems to change the security descriptor of the calling process.
For Example: If the process has granted the 'PROCESS_DUP_HANDLE' right, after opening an connection to the DB this right is no longer given.
This makes it impossible to have other processes to share handles to synchonization objects or other handles.

Maybe there is an SET_ACCESS instead of GRANT_ACCESS somewhere in the code.

Regards
Thomas

 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Pavel Cisar added a comment - 26/Apr/07 11:41 AM
Reopened to update ticket information.

Dmitry Yemanov added a comment - 09/Jul/07 09:03 AM
The solution was incomplete and it didn't fix the problem, fbclient.dll v2.0.1 still changes the security descriptor of the calling process after opening a database. See the duplicate ticket CORE-1301.

Pavel Cisar added a comment - 24/Jul/07 08:13 AM
Fix confirmed by reporter. Test was not created.