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
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