asfernandes
7a110f4be0
CORE-2929 - 'Invalid ESCAPE sequence' when connecting to the database
2010-05-17 15:30:38 +00:00
alexpeshkoff
88b8a40a04
1. Cleaned up most of SUPERSERVER usage.
...
SUPERSERVER has 4 different meanings in our code:
- this is milticlient server (replaced with Config::getMultiClientServer())
- use shared data cache (replaced with Config::getSharedCache())
- use shared metadata cache (replaced with macro SHARED_METADATA_CACHE)
- database are NOT shared between processes (replaced with getSharedDatabase())
2. Use fb_smp_server as both superclassic and classic binary on posix
(xinetd autodecection is done).
3. Small posix build cleanup.
2010-04-15 14:40:27 +00:00
dimitr
1b732a3579
Reworked the remote protocol analyzing logic.
...
In particular, it resolves the possible problems with the local access to databases on network shares.
Also, it removes any dependencies from EMBEDDED to simplify Alex's cleanup.
Finally, it adds the initial implementation of the Vlad's suggestion (for testing purposes).
2010-03-21 13:13:55 +00:00
robocop
405d008606
Comments.
2009-11-25 09:34:43 +00:00
robocop
1b5883afec
Comments.
2009-11-23 07:36:52 +00:00
robocop
1386adcf90
Style.
2009-11-16 08:06:31 +00:00
skidder
0070f2342b
Implement RemoteFileOpenAbility on Windows. This also implements CORE-1038 improvement
2009-09-29 16:55:26 +00:00
asfernandes
a9af828839
Allow conversion of system filenames resulting in more than MAX_PATH bytes. Let the callers and others complaim, as they already do.
2009-07-13 19:21:56 +00:00
asfernandes
bdf1bf85e6
1) Move some StringBase methods to AbstractString, so AbstractString could be used to mean PathNames or strings
...
2) Change ISC_escape / ISC_unescape accordingly
3) Fix bug in ISC_systemToUtf8 and ISC_utf8ToSystem when str is empty
2009-07-06 15:29:14 +00:00
asfernandes
5dda9c1677
Misc
2009-06-27 03:03:56 +00:00
robocop
d82f063395
Style.
2009-06-26 04:12:20 +00:00
robocop
743ad42513
Style.
2009-06-23 13:26:12 +00:00
alexpeshkoff
86f3176307
Fixed CORE-2467: security risk in 2.5 beta1
2009-05-19 14:33:36 +00:00
robocop
e5b226f7a7
More unused params; style.
2009-05-02 13:00:09 +00:00
asfernandes
e707efaa1d
Misc
2009-04-16 01:09:12 +00:00
robocop
dea57e9099
Get rid of SCO.
2009-04-15 06:29:00 +00:00
alexpeshkoff
58bdb6c241
Cleanup - unsupported port HP10
2009-04-10 15:36:58 +00:00
asfernandes
da1eaae928
1) Improvement CORE-2404 - Match database names using correct INTL and platform rules for trace
...
2) Small INTL refactoration
2009-04-04 22:38:56 +00:00
asfernandes
f6f364da49
Trim trailling spaces
2009-04-04 16:39:31 +00:00
asfernandes
b204a1e54f
Misc
2009-02-21 17:43:07 +00:00
alexpeshkoff
0346cf6a83
Fixed a number of problems with file ownership and access rights on unix
2009-02-20 16:18:12 +00:00
robocop
304b884374
Wrong indentation.
2008-12-25 06:30:24 +00:00
alexpeshkoff
812c153990
AIX port
2008-12-24 14:17:55 +00:00
asfernandes
5311dd5a5e
Misc
2008-12-20 19:57:43 +00:00
robocop
95292d1731
Style.
2008-12-20 08:12:19 +00:00
robocop
9161be9116
Style.
2008-12-18 11:29:10 +00:00
asfernandes
e89d61d5ff
New error code
2008-12-15 22:14:43 +00:00
asfernandes
84dfa0e092
Fixed CORE-316 - Can't open database with MBCS/Extended characters in name.
...
Documentation soon.
2008-12-15 14:59:34 +00:00
asfernandes
8fbf0e8e8c
Remove trailing spaces (.cpp files)
2008-12-05 01:20:14 +00:00
robocop
e44a99f339
Style and minor cleanup.
2008-05-10 03:44:57 +00:00
alexpeshkoff
b237f4ebd8
Cleanup - avoid use of SUPERCLIENT macro in files, used by utilities
...
(and in some other places too).
2008-04-08 14:18:24 +00:00
alexpeshkoff
44d1158059
fixed gcc build
2008-03-14 08:32:34 +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
alexpeshkoff
00c63c1f8d
1. Make signals handling in yValve MT safe.
...
2. Introduce new private API calls, fb__shutdown() and fb__shutdown_callback().
3. Introduce fb_smp_server - binary to run superclassic on posix.
4. Various cleanups.
2008-02-28 18:42:30 +00:00
dimitr
e08c5da397
The merge continued.
2008-01-16 09:07:24 +00:00
hvlad
f208dc9882
Fixed CORE-1576 : Firebird not allow to add secondary database files in system folders
2007-11-19 12:32:42 +00:00
robocop
4463333859
No more hpux (lowercase). To be reviewed by Paul Beach.
2007-11-17 10:26:09 +00:00
paulbeach
c823619e92
HPUX Port
2007-11-12 15:18:49 +00:00
paulbeach
1644f2cb64
MacOS Port into HEAD
2007-06-11 14:21:33 +00:00
asfernandes
38237c0e97
Misc
2007-03-11 02:45:50 +00:00
robocop
588a26c787
Misc.
2007-03-10 10:49:39 +00:00
alexpeshkoff
c03ae8011b
fixed compilation on linux
2007-03-09 11:35:20 +00:00
paulbeach
68b261513c
Firebird 2.0 MacOS Classic Intel Build
2007-03-09 10:32:58 +00:00
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