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

104 Commits

Author SHA1 Message Date
asfernandes
292ad66e96 Misc 2006-05-20 01:53:51 +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
asfernandes
d49b0bb648 Misc 2006-05-01 02:41:33 +00:00
robocop
92fff3bd1e Trying to solve the directory traversal issue again. The problem would be better solved in the long term if ISC_expand_filename was informed whether we need to verify the path and file is valid (we are loading it) or only the path is valid (we are creating a new file). 2006-04-30 00:39:37 +00:00
robocop
dd94b6669c It seems that I was able to tame hand-made directory parsing to prevent directory traversal bugs. In the interim, I caused Jim Barry (Nickolay's sources for the function) to revise his code, although he ignores \.\ and \..\ instead of decoding them like us. 2006-04-29 06:30:53 +00:00
robocop
63f76b88b0 Fix a directory traversal attack against FB when using TCP. More to come as I will try to polish the functionality. Examples:
localhost:dir/dir2/../dir3 became localhost:dir/dir2/dir/dir3
localhost:dir/dir2/. became localhost:dir/dir2/dir2
in the server side. Apparently there are issues with the client, too.
2006-04-23 08:31:52 +00:00
alexpeshkoff
93e9661c8a mark AIX case as untested in this file 2005-10-04 14:15:42 +00:00
robocop
c81191a3de Misc. 2005-10-01 07:16:12 +00:00
alexpeshkoff
46dd9a90d6 1. reanimated -database switch in gsec\n 2. isc_file.cpp should now compile at AIX\n 3.Use PathName to store database name in jrd.cpp during attach/create 2005-09-30 16:16:39 +00:00
dimitr
3a85fbf43a Fixed aliases usage in WNET. 2005-06-06 06:37:18 +00:00
robocop
cb173dce09 A better fix. 2005-04-04 08:29:40 +00:00
robocop
1b1ba9bf28 The client library shouldn't throw exceptions. The loader program may be written in any language and thus C++ exceptions don't make sense.
Beware of old code that accesses strings out of bounds: Firebird::string throws an exception.
2005-04-03 10:09:45 +00:00
robocop
280af3b9fa After Dmitry fixed improper loopback connection via XNET on 2005-03-09, I can no longer connect locally on Win32. Here's the fix. 2005-03-13 05:36:05 +00:00
robocop
854da4e241 Misc. 2005-02-21 06:01:01 +00:00
kkuznetsov
384babe08b Add Solaris coge for Mnt::get 2005-02-14 13:27:00 +00:00
alexpeshkoff
35c425e5fb fixed regression in isc_file due to my last commit 2004-11-24 18:11:51 +00:00
robocop
b005bd8942 Misc. 2004-11-23 06:03:51 +00:00
alexpeshkoff
c6f63e5a47 fixed work with NFS mount points 2004-11-21 16:46:32 +00:00
alexpeshkoff
71a0e49668 style 2004-11-14 17:58:32 +00:00
robocop
c594f5d467 Misc. 2004-11-10 08:28:25 +00:00
robocop
af5b3848f5 Totally misc. 2004-11-08 08:29:40 +00:00
alexpeshkoff
73c3fc3e51 1.fixed problem with double-opened databases on LanMan mounted disk.
might cause database corruption.
2.more active use of Firebird::string in isc_file.cpp
2004-11-07 14:43:29 +00:00
robocop
25f115b66e Closing several possible buffer overruns.
Alex is expected to overwrite my changes in isc_file.cpp.
2004-10-08 04:48:02 +00:00
robocop
20b38f1aad Got rid of spurious cast. 2004-09-26 11:23:32 +00:00
alexpeshkoff
9a34ce553c make bool (isEmpty/hasData) checks for string and stack safe 2004-05-27 16:26:52 +00:00
brodsom
64c1dee04e -Use C++ struct declaration style. 2004-05-24 17:31:47 +00:00
robocop
441817bd82 1.- Misc changes
2.- Style
3.- Recover dsc_ttype in dsc after Blas' cleanup as a synonym for dsc_sub_type in text types
2004-05-21 06:16:17 +00:00
brodsom
d2f011cfdb Macro cleaning 2004-05-18 16:48:26 +00:00
brodsom
5cf9fdfc90 Removing ib_stdio.h 2004-04-28 22:43:34 +00:00
robocop
1824343930 Cleanup.
Fixed a linking error with MSVC6, too.
2004-03-28 09:10:30 +00:00
robocop
f58c769c37 Cleanup. In geeky words:
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +00:00
alexpeshkoff
5e045f18fc fixed posix build - it's buildable now 2004-03-16 17:35:03 +00:00
arnobrinkman
b835eb66b5 Alex, correct me if 'm wrong, but it seems this plague me the last days. 2004-03-15 21:19:36 +00:00
alexpeshkoff
1297d0a049 'char *' converted to 'PathName &' (not everywhere) 2004-03-14 13:36:37 +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
alexpeshkoff
efb64b2aab Added native firebird::string class. 2004-02-08 17:08:34 +00:00
robocop
16cbc204df Cleanup 2003-12-31 05:36:12 +00:00
dimitr
7bf6f3308e Fixed bug introduced some months ago. 2003-12-22 18:32:20 +00:00
aafemt
5f041977c2 'struct' cleanup 2003-11-26 11:15:32 +00:00
dimitr
fc1e7d0f68 Applied patch by Jim Beesley. 2003-11-23 18:21:44 +00:00
brodsom
88a2611ed1 -Removing some unneeded headers (WIN_NT) or explaining why are needed 2003-11-16 16:17:38 +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
db77ffa605 const correctness, variables in scope, cleanup, etc. 2003-11-07 08:06:35 +00:00
fsg
d551d1fe12 minor correction
FSG
2003-10-29 15:18:56 +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
alexpeshkoff
c92d1cf192 Ported today fixes to HEAD. 2003-10-01 15:27:00 +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