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

308 Commits

Author SHA1 Message Date
skidder
8711c87bf8 Fix the nbackup problem on big-endian machines noted by Claudio 2004-11-23 05:36:37 +00:00
robocop
166fcc274c Correction. 2004-11-17 05:20:55 +00:00
robocop
8e8586669f Misc. 2004-11-17 05:19:37 +00:00
robocop
67591daef1 Prevent garbage from being used. 2004-11-17 05:18:49 +00:00
alexpeshkoff
21849e714d style 2004-11-16 11:44:06 +00:00
skidder
115a9b5dcb Add workaround to NBACKUP for Windows problem causing OS to go down when somebody reads a large file 2004-11-15 00:32:04 +00:00
alexpeshkoff
81457eefc7 misc cleanup 2004-11-14 18:07:26 +00:00
alexpeshkoff
fa3c6c521e dropped temp fix after bug with views was fixed by Dmitry Yemanov 2004-11-14 18:01:52 +00:00
skidder
f2597aee92 long is 64-bit datatype, but here encoded as 32-bit value. correct confusion 2004-11-11 04:57:19 +00:00
skidder
6fd58b5497 Fix 64-bit build 2004-11-11 01:34:41 +00:00
robocop
0efc954083 This file cannot be compiled in its current state and references a project (shared cache) abandoned years ago. 2004-11-10 04:29:39 +00:00
robocop
628b088d2c Treat string literals and string constants with more respect. 2004-11-10 04:26:45 +00:00
robocop
2ab384e4d7 Protect from whatever possible (future) programming error that could cause a B.O. Probably the best fix is to make the constructor private and force all usage through the static raise() member function. 2004-11-10 04:25:51 +00:00
robocop
2ec848a3b9 Treat string literals and string constants with more respect. 2004-11-08 05:38:42 +00:00
robocop
e5ac2effd4 Misc. 2004-11-08 03:09:27 +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
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
alexpeshkoff
90655b9bb5 dropped unused function, which became absolutely senseless 2004-11-07 14:38:21 +00:00
robocop
0c1c5428f0 Misc: extra semicolons do not help. :-) 2004-11-07 10:52:36 +00:00
skidder
de6d7d8182 Add .nbk extension to file names generated by nbackup as suggested by Oliver 2004-11-04 19:08:45 +00:00
skidder
939c3dc1b3 Improve NBACKUP diagnistics once again 2004-11-04 18:54:03 +00:00
skidder
6a14cbb873 Fix bug in parameter parsing for NBACKUP, username/password were only recognized in the beginning of command. Improve diagnostics for invalid options given on command 2004-11-04 18:29:22 +00:00
skidder
3e26513b38 fb_interpret->isc_interpet, deprecate isc_interpete, clean interface a little bit 2004-10-25 03:53:03 +00:00
robocop
09ddb9b072 Simplification 2004-10-08 08:11:54 +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
ed17cfafbf Style:
if<space>(
for<space>(
switch<space>(
while<space>(
2004-10-04 08:15:00 +00:00
robocop
31ba754981 After talking to Ann, decided to disable several items:
- obsolete items like WAL and JOURNAL (cleaned in the past)
- crud from attempts never finished like the shared cache manager for Classic
- DSQL nodes that aren't used. This allowed freeing some keywords.
The functionality was disabled by commenting the code. No code has been deleted.
2004-10-03 04:49:04 +00:00
robocop
20b38f1aad Got rid of spurious cast. 2004-09-26 11:23:32 +00:00
robocop
840bf14b36 If we are using namespace fb_utils, it doesn't make sense to prefix functions in it with fb_ again. Mechanical replacement made one by one (no bulk automatic changes). 2004-09-26 01:49:52 +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
robocop
7f03f6adbf Gsec should return the error code when used as a non-interactive utility.
Otherwise, calling it from a batch file doesn't give information if it failed or succeeded.
2004-09-15 07:32:07 +00:00
skidder
6e7911986c Remove wrong comment 2004-09-15 05:30:25 +00:00
skidder
e289584498 Add user name and password options to NBACKUP 2004-09-15 05:24:28 +00:00
alexpeshkoff
2cd73b1d06 fixed uninitialized status vector in gstat 2004-09-02 09:59:30 +00:00
alexpeshkoff
c3db4aaa97 added (and used in sources) template to change and restore default pool 2004-08-30 18:11:08 +00:00
brodsom
7593638007 Fix non initialized variables 2004-08-26 18:49:49 +00:00
skidder
e0ac81de4a Introduce concept of ODS type to be able to distinguish between Interbase databases, Firebird databases, databases created by debugging builds of Firebird and private forks 2004-08-23 20:44:49 +00:00
robocop
1d1f86aae3 Try to fix problem reported by Treeve Jelbert in a file I don't compile. 2004-07-11 10:04:58 +00:00
robocop
1bbb740b98 Undo inheritance in ODS page types as requested by Nickolay. Either some macros are too silly or the compiler is limited by the standard here.
Notice I may have missed some file that's not compiled in Win32.
2004-07-10 03:20:33 +00:00
robocop
4bdbf9ab70 Try to fix bug reported by Treeve Jelbert. Someone please try as this file isn't part of the Win32 build. 2004-07-10 03:16:13 +00:00
brodsom
76a2f98d90 -Put thread functions into thread class
-Comment SVC_PUTSPECIFIC_DATA
2004-07-03 02:33:46 +00:00
skidder
593fc58ccb Change license for source files which I wrote 2004-06-30 01:45:18 +00:00
robocop
949830d0c6 1.- const correctness
2.- style
3.- Try to fix the mess caused by different data types used to represent bifields of SCL_ constants defined in scl.h,
first round. No circular dependencies found through MSVC. Still pending dyn* and grant.epp files.
2004-06-29 04:37:59 +00:00
brodsom
1aa7b9452c Looking for extra ; at namespace declaration end 2004-06-13 23:45:02 +00:00
brodsom
c2d05fe48c -Rollback 2004-06-09 18:57:07 +00:00
brodsom
b9b39b630e -Rollback 2004-06-09 18:23:27 +00:00
brodsom
9f86709067 -Correction 2004-06-08 18:49:48 +00:00
brodsom
eaf725d633 -C++ struct declaration style. 2004-06-08 18:48:24 +00:00
alexpeshkoff
1591a54e5e Thread cleanup:
1. Added macros to declare thread entrypoints
2. THD_mutex_* functions use Firebird::Mutex
3. Thread local storage use fb_tls.h
2004-06-08 13:41:08 +00:00