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

77 Commits

Author SHA1 Message Date
hvlad
b75f2252b2 Free a bit of system memory. Noted by Claudio. 2008-04-10 15:15:09 +00:00
dimitr
22ece8e06f Minor refactoring and thread-safety. Also, ISC_set_user() is cleaned up. 2008-04-09 15:49:46 +00:00
asfernandes
9a19c76ce1 Misc 2008-03-11 02:05:09 +00:00
robocop
b4091ac9a6 Make them explicit. 2008-03-10 08:16:57 +00:00
dimitr
2e4d036eed Get rid of the Win9x/ME specifics. We don't support them anymore. 2008-02-26 11:03:09 +00:00
dimitr
b7a575e43f Cleanup. 2008-02-13 16:47:34 +00:00
dimitr
e08c5da397 The merge continued. 2008-01-16 09:07:24 +00:00
hvlad
59b6c2e455 Correction for Win32 2007-11-19 20:34:10 +00:00
alexpeshkoff
3e0d8ebc5b Fixed CORE-1603: Possible buffer overflow with long user name 2007-11-19 16:18:59 +00:00
hvlad
d63015a1f5 Fixed CORE-1301 : CLONE -fbclient.dll changes the security descriptor of the calling process 2007-06-09 22:07:05 +00:00
alexpeshkoff
edfa819bf7 restored functionality of -e family of switches, broken somewhere in 1.5 2007-04-05 12:47:20 +00:00
hvlad
54fd5ce4b1 Moved ISC_prefix_object_name into fb_utils::prefix_kernel_object_name to avoid a need to add isc.cpp to all projects which can read config file 2007-02-20 15:39:01 +00:00
robocop
3807288734 Fixing two programming mistakes:
- MSDN says This function [RegOpenKey] is provided only for compatibility with 16-bit versions of Windows. Applications should use the RegOpenKeyEx function. Since it uses the default security access mask to open a key it may/will fail on Windows Vista.
- It's illegal to jump via goto to a label that skips initialization of a variable. In the case of an early error, the code was trying to free an uninitialized variable.
2007-02-20 08:44:15 +00:00
hvlad
c0989bce8b Fixed CORE-1031 : fb_lock_print.exe fails on windows 2003 R2 / XP SP 2
and CORE-1133 : XNET (IPC) communication protocol does not work across sessions
2007-02-19 13:05:27 +00:00
alexpeshkoff
6b537af439 A couple of improvements/cleanups, suggested by Adriano 2006-12-10 11:17:50 +00:00
alexpeshkoff
1a4652f01a Trusted authentication for windows 2006-12-08 18:38:15 +00:00
dimitr
92ab50e747 Fixed CORE-984. 2006-11-01 17:46:45 +00:00
dimitr
ee43406e94 Remove DLS where it's not used. 2006-05-17 13:55:01 +00:00
robocop
d306dc5ef4 Since TCP_NO_DELAY is gone, comments regarding it are obsolete. 2006-04-29 03:01:40 +00:00
robocop
2c185709e3 Misc. 2006-02-23 05:22:08 +00:00
robocop
1f84bac700 Mark unused data members, discover more code associated to conditional compilation, clean some places, replace custom loops by memcpy and memset when possible, etc. 2006-02-23 05:08:26 +00:00
dimitr
363b2f0ef9 Fixed inability to establish an IPC channel between processes with custom security descriptors.
Appeared as "unavailable database" while connecting from the service running under special account.
2005-08-23 14:25:48 +00:00
alexpeshkoff
3ce22a5458 Front-ported security fix - always require login/pass in IP connections. 2005-08-22 07:25:13 +00:00
alexpeshkoff
68c7589184 Front-ported fix from 1.5. 2005-08-19 10:41:28 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00
robocop
40aeec1962 Possible buffer overrun (SOLARIS & VMS)
strncpy does not guarantee to write the null terminator!
2004-10-07 09:01:39 +00:00
robocop
1332d98618 Literal strings should be treated as const char* 2004-06-05 09:37:18 +00:00
brodsom
9affafec6b Finishing the api cleanup 2004-05-29 13:34:54 +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
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +00:00
brodsom
0daa189563 Removing ib_stdio.h 2004-04-28 22:36:29 +00:00
robocop
1824343930 Cleanup.
Fixed a linking error with MSVC6, too.
2004-03-28 09:10:30 +00:00
robocop
5c3c8abd9a Big cleanup.
God have pity on platform maintainers.
I only can compile/test Win32; sorry, folks.
2004-02-20 06:43:27 +00:00
aafemt
5f041977c2 'struct' cleanup 2003-11-26 11:15:32 +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
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
brodsom
2aeb693d06 extern cleaning
removing underscores in macros
DLL_EXPORT cleaning
2003-10-03 01:53:34 +00:00
robocop
484c6ec372 Cleanup, const correctness, variables in scope, etc.
Having done my best to merge everyone else's changes, I hope the tree can be build with whatever other tools != MSVC6.
2003-09-25 11:49:12 +00:00
brodsom
9d5721473a Removing SHLIB_DEFS 2003-09-22 17:56:35 +00:00
brodsom
6a2ef35fda -Remove NULL_PTR
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:16:03 +00:00
dimitr
8a9fd67841 Get rid of the old config stuff completely. 2003-07-04 15:17:49 +00:00
dimitr
f765ec326c Renamed environment variable. Fixed one temp-related crash. 2003-06-25 07:45:00 +00:00
alexpeshkoff
acd4230a7d New UdfAccess implementation - related cleanup 2003-04-12 17:06:44 +00:00
alexpeshkoff
86e6b77b50 1. Fixed potential buffer overflow in gds__prefix* family of functions.
2. Changed second parameter declaration to be const.
2003-04-06 11:40:29 +00:00
brodsom
82baa67399 - Ifdef unused or conditioned code
- Remove intermediate macro
2003-04-03 10:09:59 +00:00
brodsom
5f357a9270 - Avoid partially bracketed warning 2003-04-02 11:20:09 +00:00
alexpeshkoff
45ad6a1bda External files access restriction cleanup 2003-03-23 16:50:54 +00:00
brodsom
79a40c0d99 Put declarations and definitions inside the same ifdef condition under which is used. (for not used ones NOT_USED_OR_REPLACED) 2003-03-03 09:22:32 +00:00
eku
7cb0495f6a Fixed unterminated #if statement. 2003-02-19 12:54:39 +00:00