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
46b3b6c0dd
Preparation for merging my own changes.
2008-01-17 13:07:03 +00:00
dimitr
f25819fb19
The merge continued.
2008-01-16 07:55:28 +00:00
asfernandes
e0226e17fb
Misc
2008-01-09 23:57:18 +00:00
dimitr
3201c3de4c
Fixed CORE-1681.
2008-01-09 10:20:57 +00:00
dimitr
804be84213
Fixed possible crashes due to an already disconnected port.
2007-12-15 10:30:03 +00:00
alexpeshkoff
5bf6bd05d9
Fixed CORE-1543: Security bug in trusted authentication
2007-10-26 13:17:33 +00:00
dimitr
697d77edec
Fixed CORE-1459.
2007-09-14 06:55:15 +00:00
dimitr
204b2881e7
Fixed CORE-1460.
...
Make INET to use the same buffer as other transports instead of the hackery usage of p_resp_blob_id.
2007-09-14 06:00:17 +00:00
dimitr
07ebaa0ce9
Fixed CORE-1403.
2007-08-03 08:41:45 +00:00
alexpeshkoff
31beadfb64
fixed BOF during op_connect processing, avoid use of sprintf() in remote
2007-06-21 08:40:04 +00:00
hvlad
f31a3116ec
Fixed bug with wrongly initialized remote statement when lazy_port feature active.
...
It visible with TCS's test DSQL_DOMAIN_20
2007-06-01 12:46:30 +00:00
hvlad
88671bf258
Correct error handling for deferred executed statements
2007-05-17 13:03:57 +00:00
alexpeshkoff
d63491e3c5
Finished gcc-warnings cleanup
2007-04-11 16:05:40 +00:00
hvlad
c13e67fe49
Restored broken compatibility between clients and servers of different versions (2.1 and other)
2007-04-04 10:31:47 +00:00
robocop
b776f1f19c
Minor corrections.
2007-04-03 08:18:11 +00:00
hvlad
2c10b3ff92
Implement one more LazyPort feature : defer op_execute packet when it possible
2007-04-01 21:42:40 +00:00
alexpeshkoff
dec4ded1f5
fixed unregistered bug, reported by Dmitry privately - partial and full XDR packets may be mixed now in network packets in any way
2007-03-30 12:56:57 +00:00
robocop
409ff041dd
Misc and replaced "IB" by "FB" where it made sense to me.
2007-02-11 09:04:54 +00:00
hvlad
bc521d75a3
Fixed CORE-1119 : Bad code in status vector when running ISC_ER30 from fbtcs
2007-02-01 22:05:18 +00:00
alexpeshkoff
d66281291f
1. Make classic server close shutdown normally when killed by signals 2 & 15.
...
2. Don't leave running instances of fb_inet_server after database shutdown.
3. To make all this possible - reworked Y-Valve in general.
2007-01-20 14:45:45 +00:00
robocop
91544a92e0
Totally misc.
2006-12-29 08:48:28 +00:00
hvlad
a1e9297bbd
Fixed CORE-1067: AV in the engine using some API calls when 'lazy port' feature active
2006-12-25 10:28:41 +00:00
alexpeshkoff
2f48fc38f7
1. Closed security whole with malformed DPB/SPB
...
2. Avoid memory leak when exception is thrown.
3. Better diiagnostics.
Thanks to Claudio.
2006-12-17 15:53:46 +00:00
robocop
4afa6a29cb
Misc.
2006-12-17 09:09:39 +00:00
alexpeshkoff
6bb3545558
fixed posix build after my latest changes
2006-12-10 13:45:02 +00:00
asfernandes
854d870d8f
Misc
2006-12-10 00:16:00 +00:00
alexpeshkoff
1a4652f01a
Trusted authentication for windows
2006-12-08 18:38:15 +00:00
dimitr
bdc09b234a
The remote subsystem should not guess about the internal structure of BLOB ID.
2006-12-04 21:42:27 +00:00
alexpeshkoff
b056a118b5
1. Avoid use of STL
...
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
robocop
07f4bed382
I don't want another "interprete", so I rename "defered" to "deferred".
2006-05-02 00:04:12 +00:00
hvlad
f94b8bd641
Merge B1_5_Remote_LazyPort branch into HEAD
2006-05-01 22:23:31 +00:00
robocop
a2d0a4d348
Style.
2006-04-18 04:50:02 +00:00
alexpeshkoff
105bff246e
removed unneeded h-file
2006-04-17 10:40:28 +00:00
asfernandes
48abddae4c
Use THREAD_SLEEP as sleep don't exist in WIN32
2006-04-16 17:09:02 +00:00
alexpeshkoff
fb4888dca1
shutdown working threads before server shutdown
2006-04-14 16:46:12 +00:00
robocop
00c9d548a6
Handle zero-length strings even if we have our buffer full.
2006-04-09 06:53:38 +00:00
robocop
b8636c120b
Refactor this damn unreadable code and take into account the problem Adriano found with zero length file names in my previous commit.
2006-04-09 00:53:55 +00:00
robocop
1f22045df1
I think I'm fixing a potential buffer overrun here.
2006-04-07 04:51:13 +00:00
asfernandes
2b5eef3103
Correction
2006-04-07 02:55:34 +00:00
alexpeshkoff
f59a457b5d
validate port_context before use to avoid AV in remote
2006-04-06 13:34:09 +00:00
robocop
c5f2284b15
Style.
2006-04-06 08:18:53 +00:00
alexpeshkoff
74b7418943
we should not loose status vector held in status_exception
2006-03-15 17:25:49 +00:00
robocop
8f1cf8f2cb
Commit correct signature for events-related calls.
2006-03-10 08:23:40 +00:00
asfernandes
22eca372ab
Formatting
2006-03-07 03:12:48 +00:00
alexpeshkoff
402d918e74
Use named constant for buffer size
2006-03-06 13:51:58 +00:00
alexpeshkoff
b4ed43ddf8
1. Fixed win32 classic build.
...
2. Attempt to fix SF#1260310.
2006-03-06 11:03:19 +00:00
alexpeshkoff
9e21527396
fixed debugging code - thanks to Claudio
2006-03-05 10:26:45 +00:00
alexpeshkoff
a6151c44c9
Fixed SF bug 1385092
2006-03-03 16:20:42 +00:00
dimitr
7ca955e43a
Minor cleanup.
2006-02-04 10:37:15 +00:00