alexpeshkoff
ee6c433597
Mutexes cleanup:
...
1. Make all firebird mutexes recursive.
2. Enable exceptions to be thrown by mutexes and process them in code where needed.
3. Catch and ignore exceptions in various MutexGuard dtors.
2008-02-05 08:21:18 +00:00
alexpeshkoff
3625cc2af4
partially roll back my last changes - use single mutex to synchronize access to security database
2008-01-30 08:57:29 +00:00
alexpeshkoff
35520bc1f1
fixed posix SS - use recursive mutex to protect security DB access
2008-01-29 15:03:34 +00:00
alexpeshkoff
39896cb955
Fixed CORE-1671: atexit() calls in client libraries cause segfaults
...
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory
To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.
Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
d1e8f67a5d
The merge continued.
2008-01-16 09:29:37 +00:00
alexpeshkoff
3e0d8ebc5b
Fixed CORE-1603: Possible buffer overflow with long user name
2007-11-19 16:18:59 +00:00
dimitr
8e07223ebf
Threading cleanup. More to follow.
2006-04-30 16:28:30 +00:00
alexpeshkoff
5274a7361c
Security fix - temporary disable logins for clients, making too many wrong attempts to login
2005-08-23 06:52:55 +00:00
alexpeshkoff
f4cd5a154f
Changed name to security2.fdb
2005-02-24 12:24:38 +00:00
alexpeshkoff
6510b9501f
take autoconfig.h into account
2004-11-16 11:41:35 +00:00
alexpeshkoff
daa112c705
replaced platform-dependent SHA1 with in-tree sha.cpp
2004-11-14 18:09:14 +00:00
alexpeshkoff
3bd02ee852
security fix
...
1. Use SHA1 hash instead of ENC_crypt.
2. Disable any remote (non-embedded) access to security.fdb.
3. Use services in gsec and isc_*_user() fucntions.
In gsec switch -database replaced with -server.
4. Protect from attempts to brut-force accounts/passwords.
2004-11-07 14:50:53 +00:00
brodsom
80b424e346
-Replace define with const
...
-Move SYS_ERR, ERRNO, H_ERRNO and INET_ERRNO(ERRNO in inet.cpp) macros to common.h
-Remove unused macros
2004-05-05 21:55:13 +00:00
robocop
16cbc204df
Cleanup
2003-12-31 05:36:12 +00:00
dimitr
1958811522
Some cleanup.
2003-10-05 10:27:08 +00:00
dimitr
cfb95505df
A few corrections.
2003-10-03 12:28:54 +00:00
brodsom
2aeb693d06
extern cleaning
...
removing underscores in macros
DLL_EXPORT cleaning
2003-10-03 01:53:34 +00:00
dimitr
3ecade90cb
It's useless to care about handle leaks when both the engine and thread scheduler are shutdown.
...
Please also note, that THREAD_* macros shouldn't be used in atexit()-handlers or static destructors.
2003-05-07 07:06:42 +00:00
dimitr
57efb1eb46
Fixed threading issues in the security database manager.
2003-05-02 18:41:12 +00:00
dimitr
829d9ac0c4
Fixed crash in the embedded server.
2003-04-17 08:30:17 +00:00
aafemt
e5146fd644
Introduce of ISC_STATUS_ARRAY
2003-04-16 10:18:51 +00:00
aafemt
19bb54f2a8
STATUS -> ISC_STATUS
2003-04-10 06:49:16 +00:00
dimitr
3a23615884
Make sure attachment handle is closed on server shutdown.
2003-03-20 09:28:34 +00:00
eku
796a4e4e31
Fixed more issues with pwd.h.
2003-02-19 06:14:39 +00:00
bellardo
456ac1b639
Opps, I should at least commit the newly renamed file :-)
2003-02-13 22:44:00 +00:00