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

78 Commits

Author SHA1 Message Date
robocop
2fadc0e456 Style. 2008-12-22 09:00:05 +00:00
robocop
ff99dc3d46 Style. 2008-12-18 10:47:25 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
robocop
5bc24e78f2 Misc. 2008-08-28 07:14:20 +00:00
alexpeshkoff
13a15d4bfe 1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
dimitr
17520b6531 Corrections for the new embedded implementation.
Removed some embedded specifics that shouldn't be necessary once the required changes are committed.
Please note that the lock table is still per-instance, so multi-process usage is still unsafe. To be fixed later.
2008-07-14 18:14:30 +00:00
asfernandes
607f55503d Misc 2008-07-11 02:37:23 +00:00
alexpeshkoff
7c8427bc35 Separated CVT functions to common and jrd parts.
This made possible to avoid ugly CVT_move export.

Cleanup of errors handling in CVT functions.
2008-07-10 15:57:33 +00:00
robocop
1c52bbf025 It seems that finally the interfaces are synchronized.
The compiler produces a lot of errors when linking why.cpp against inter_proto.h (that has the real function signatures) instead of entry.h, but it's the only way to verify that the parameters are coherent.
2008-04-04 13:43:44 +00:00
asfernandes
aea2bcb354 Misc 2008-01-23 19:03:16 +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
d4d587d155 The merge continued. 2008-01-16 08:16:36 +00:00
alexpeshkoff
d3c93a5950 Fixed CORE-1455:Crash in fbclient after unsuccessful user management API call 2007-09-26 17:53:22 +00:00
alexpeshkoff
1932c8f4e7 added switch -trusted to most of firebird utilities 2007-04-07 08:47:58 +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
7a46dc7247 Misc. 2006-11-10 08:12:07 +00:00
robocop
28c3d29886 ApiGuide.pdf says a maximum of 16 databases is allowed for a multi-db transaction. However, Ann agrees that a modern new, sensible limit is 256 databases for start_transaction and start_multiple.
Fixed a buffer overrun in jrd.cpp related to this.
2006-10-14 01:29:36 +00:00
robocop
8e7e781e5f Partial commit with some cleanup and more constants. 2006-10-10 06:41:36 +00:00
robocop
8f1cf8f2cb Commit correct signature for events-related calls. 2006-03-10 08:23:40 +00:00
alexpeshkoff
e85ee26ade fixed gcc warning(s) 2006-01-18 10:43:13 +00:00
alexpeshkoff
5f465ea4ca comment 2004-11-21 16:25:28 +00:00
robocop
c75595ac55 Misc. 2004-11-08 06:16:19 +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
robocop
20b38f1aad Got rid of spurious cast. 2004-09-26 11:23:32 +00:00
robocop
7dcb66a250 When you call va_start, call va_end, don't assume it does nothing because some platforms don't have code for it!
Changed some sprintf to SNPRINTF. Work in progress WRT wrapper for this function.
2004-09-25 10:28:09 +00:00
robocop
e6cb17cac6 Vulnerability reported by Daniel Urban.
First step: reorganize code.
Please do a full rebuild after retrieving those changes.
2004-09-22 01:59:39 +00:00
aafemt
d391ae5c13 Make events API consistent after Claudio changes 2004-08-04 06:27:54 +00:00
brodsom
75a0483d75 -Comment some common.h unused macros
-Replace VA_START macro with va_start function (it was already some places where it is not used)
2004-05-23 23:28:06 +00:00
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +00:00
brodsom
2f4865a195 Replace defines for constants 2004-04-29 14:51:02 +00:00
brodsom
5cf9fdfc90 Removing ib_stdio.h 2004-04-28 22:43:34 +00:00
aafemt
efbdf95f8d Fix few warnings 2004-02-04 11:12:26 +00:00
skidder
08eee5ebaa Further AMD64 fixes. Given this fixes you may start playing with databases using isql_static. 2004-01-21 07:18:30 +00:00
robocop
ad0b5c4de3 General cleanup 2003-12-22 10:00:59 +00:00
robocop
d020ea5ca1 ping-pong cleanup: change one place and you have to change several others 2003-12-11 10:33:30 +00:00
robocop
84062732d8 More cleanup 2003-12-03 08:19:24 +00:00
robocop
9fafc348bf const correctness
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
brodsom
6e8e00c191 -Undo gds__vax_integer to isc_vax_integer and gds__event_* to isc_event_* changes 2003-11-16 01:44:51 +00:00
brodsom
c5253ae8a5 -Replace gds__ constants with isc_ contants
-Replace codes.h with iberror.h (or remove)
-Move gds__vax_integer and gds__event_block* to alt.cpp and isc_ to gds.cpp
-Use ISC_QUAD internally
-Use isc_vax_integer internally
2003-11-11 12:19:20 +00:00
robocop
f55c6f6f8c const correctness and cleanup 2003-11-10 09:16:38 +00:00
brodsom
35ea85a115 -Removing gdsold.h and gds.h
-Replace gds__ functions with isc_ functions for internal use
2003-11-09 15:38:31 +00:00
brodsom
4285bc623c Removing gdsold.h and gds.h 2003-11-08 16:40:17 +00:00
brodsom
43683ea52b Removing gdsold.h 2003-11-07 23:27:24 +00:00
robocop
db77ffa605 const correctness, variables in scope, cleanup, etc. 2003-11-07 08:06:35 +00:00
robocop
35396625f5 const correctness
function signatures
variables in local scope
BOOLEAN -> bool
TEXT[32] as SqlIdentifier for DYN
Stop random garbage in firebird.msg's bytes 8 to 11
some cleanup
2003-11-05 09:02:33 +00:00
robocop
cda707bd36 const correctness and other related changes 2003-11-01 10:26:43 +00:00
robocop
9ead7a37b4 const correctness
placed some variables in context
fixed some function signatures
closed a few possible buffer overruns
sorry to the platform maintainers, I can't verify what I did for non-Win32 builds
2003-10-29 10:53:47 +00:00
aafemt
900fa62a1d 'struct' cleanup 2003-10-20 10:53:52 +00:00
robocop
480c1ee968 const correctness 2003-10-08 08:42:48 +00:00
robocop
c931a674c2 Cleanup.
Hopefully harmless
It should fix the issue introduced with constness in gds__interprete for current applications.
2003-09-29 12:43:14 +00:00