8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 06:43:02 +01:00
Commit Graph

1271 Commits

Author SHA1 Message Date
alexpeshkoff
83db69c849 Fixed new gcc 4.7 warning "deleting object of polymorphic class" in many places. Adjusted use of interface types (reference counted vs just vesrioned). Avoided some hacks caused by badly chosen interface type. 2013-11-18 12:20:23 +00:00
dimitr
efa979b1c1 Prevent races by allowing the worker thread to process op_exit / op_disconnect packets only after the listener had synchronously called cancel_operation(). This fixes CORE-4268: Server may crash while disconnecting from a database. 2013-11-15 09:52:55 +00:00
alexpeshkoff
b760d0ef0d Fixed bug, reported privately by Dmitry 2013-11-15 08:30:29 +00:00
alexpeshkoff
120b10a78a Implemented CORE-4263: Database linger 2013-11-14 16:16:24 +00:00
alexpeshkoff
cbdf8513a9 misc.debug 2013-11-14 13:52:47 +00:00
alexpeshkoff
9dbdab9d28 Enhanced diags for unprepared statement 2013-11-05 11:54:06 +00:00
alexpeshkoff
3947227e43 Do not encrypt xnet connections 2013-11-05 08:53:49 +00:00
alexpeshkoff
09eef8b980 Fixed "Enabled" state of wire encyption 2013-11-05 06:52:50 +00:00
hvlad
15e24b0dd7 Convert legacy auth server to non-builtin plugin on windows (MSVC10 build). 2013-10-29 08:46:32 +00:00
alexpeshkoff
35093b1a92 Rollback some of my wrong changes 2013-10-28 11:51:54 +00:00
alexpeshkoff
de258c2844 Convert legacy auth server to non-builtin plugin on posix 2013-10-28 10:27:40 +00:00
alexpeshkoff
5a054cca16 Fix found by Jim Starkey man-in-themiddle attack on ATTACH packet.
That packet may contain database name, command line for service and/or some other important and critical information.
To avoid such attack wire encryption is started before attaching database or service manager, right after connect.
Also should fix a number of issues found in Alpha1 regarding services attach.
2013-10-16 12:53:04 +00:00
alexpeshkoff
18d66a33b4 Cleanup - avoid unneeded generate's argument in SortedArray and Hash 2013-09-24 08:46:10 +00:00
alexpeshkoff
9f3a3be189 Fixed segfault when releasing IMessageMetadata, reported by Dmitry privately. It was bad idea to return to the user interface created by plugin. 2013-07-19 13:51:54 +00:00
dimitr
ff8d492043 Fixed server crash in both remote server and remote client. 2013-07-10 10:06:42 +00:00
dimitr
8524f63d14 Fixed CORE-4132: gbak requires exclusive access. 2013-06-30 19:05:34 +00:00
asfernandes
21b23ef28d Misc. 2013-06-28 02:03:10 +00:00
alexpeshkoff
1de6b3de52 Authentication handshake improvements and fixes. Make debug output better readable. 2013-06-24 08:39:29 +00:00
asfernandes
768b79c361 Improvements and corrections to message builder and UDR. 2013-06-18 15:50:48 +00:00
hvlad
2161546e64 Path by Alex: wire encryption for WNET 2013-05-22 12:18:32 +00:00
alexpeshkoff
a1335224f4 comment 2013-05-22 10:52:56 +00:00
alexpeshkoff
c3e6fe4632 Fixed some authentication errors 2013-05-22 07:31:34 +00:00
robocop
0ad2e4b52b Misc. 2013-05-21 21:49:26 +00:00
alexpeshkoff
b9a96911ca Avoid extra atomic operations when assigning pointer to the object with pre-incremented counter (like returned from the function) to reference-counted pointer holder 2013-04-17 11:16:06 +00:00
alexpeshkoff
a4fa821ec4 Fixed assertion in services when talking to pre-FB3 server 2013-04-16 08:54:48 +00:00
alexpeshkoff
f7f798f4e7 Fixed a bug in one of my recent commits - thanks to Claudio 2013-04-15 15:58:52 +00:00
dimitr
551e2416c6 Add interface support for scrollable DSQL cursors. Implementation will follow later. 2013-04-13 07:11:58 +00:00
alexpeshkoff
d82ebf8cf2 Fixed regression in protocol < 13 introduced when adding statement flags 2013-04-11 14:28:01 +00:00
alexpeshkoff
abf4beb433 Fixed security issue - plain password remained in DPB 2013-04-11 13:35:37 +00:00
dimitr
f2a72c8285 Finished the 16-bit -> 32-bit conversion for SQL/BLR/buffer/message sizes, this time in the remote provider. The server has been proven to be able to create a procedure longer than 64KB in length and execute it, but more testing is required.
A major battle against 64-bit build warnings were performed.
Additionally, fixed CORE-3943. It does affect compatibility with older servers, but at the minor level.
2013-04-11 10:07:38 +00:00
asfernandes
68ca82d894 Misc. 2013-04-07 23:48:14 +00:00
mapopa
65a4d15027 Remove unused and broken code defined with PIGGYBACK 2013-04-06 17:58:35 +00:00
mapopa
4e5a7a9898 Cleanup comments and unused code 2013-04-06 17:46:27 +00:00
hvlad
57ac684f67 Fixed Windows build 2013-04-05 07:48:05 +00:00
alexpeshkoff
8780552b94 Added support for changing configuration (client and embedded) from API 2013-04-04 13:17:57 +00:00
mapopa
f6f7b62f64 SIGURG is not used , cleanup commented code 2013-04-01 21:40:55 +00:00
asfernandes
26ab241631 Misc. 2013-03-30 02:31:03 +00:00
alexpeshkoff
e4356e4b46 Added operator include to config files 2013-03-27 11:45:02 +00:00
dimitr
2001352060 Misc. 2013-03-24 06:38:32 +00:00
alexpeshkoff
445bd69d9f Fixed CORE-3269: When server gets unavailbale, client does not perform detach correctly 2013-03-22 14:29:51 +00:00
hvlad
2df60f21ea Fixed AV in remote server code reported by Dmitry Kovalenko in fb-devel 2013-03-20 13:13:33 +00:00
asfernandes
0d299d455a Remove FbMessage struct from the API.
This struct lost its main value (group various blr-related properties in a single parameter).
And since openCursor/fetch already split the message/buffer, it does not make sense anymore to have it.
2013-02-26 03:42:19 +00:00
asfernandes
53d4d58113 Change message buffers type to void*. It adds some casts, but avoid them in users' code. 2013-02-23 03:09:17 +00:00
alexpeshkoff
5ecced8462 Better names for statement's flags 2013-02-22 07:24:46 +00:00
asfernandes
5c436f8d91 Misc. 2013-02-21 23:25:10 +00:00
alexpeshkoff
f1779a7398 Do not prefetch unneeded information in IAttachment::openCursor() 2013-02-19 12:03:07 +00:00
alexpeshkoff
ba9413b26a Add IStatement::getFlags() to help user make a solution what to do with SQL statement 2013-02-19 11:20:49 +00:00
asfernandes
ba09d5262f Misc. 2013-02-18 15:28:50 +00:00
alexpeshkoff
37d353d392 Make openCursor() use default output format when none is given explicitly 2013-02-18 13:53:46 +00:00
asfernandes
d3f8597c53 Misc. 2013-02-18 02:14:43 +00:00