hvlad
edf72a34f6
Fix memory leak when a query contains both GROUP BY and DISTINCT and result set is empty
2004-10-08 10:18:41 +00:00
robocop
204acfa344
increment build number
2004-10-08 08:13:24 +00:00
robocop
336661d8a1
Style.
2004-10-08 08:13:22 +00:00
robocop
caff49bc63
increment build number
2004-10-08 08:12:31 +00:00
robocop
b85214950e
increment build number
2004-10-08 08:12:06 +00:00
robocop
09ddb9b072
Simplification
2004-10-08 08:11:54 +00:00
robocop
e9c4d52ec0
increment build number
2004-10-08 04:48:04 +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
74e8fec724
increment build number
2004-10-08 04:48:01 +00:00
robocop
40dd1a7ec2
increment build number
2004-10-08 04:47:58 +00:00
robocop
edf3ff1323
increment build number
2004-10-08 04:47:56 +00:00
robocop
f2de9f6211
increment build number
2004-10-08 04:47:53 +00:00
robocop
a17627f3e0
increment build number
2004-10-08 04:47:51 +00:00
robocop
1c09a997d1
increment build number
2004-10-08 04:47:48 +00:00
skidder
de0e7816f0
increment build number
2004-10-08 02:00:36 +00:00
skidder
e2008969e3
increment build number
2004-10-08 01:54:46 +00:00
fsg
b9c59c80fc
increment build number
2004-10-08 01:10:16 +00:00
fsg
f6d50ed3b4
increment build number
2004-10-08 01:09:18 +00:00
skidder
e602e36bba
increment build number
2004-10-07 21:34:27 +00:00
skidder
1118b51079
increment build number
2004-10-07 21:34:23 +00:00
skidder
684780e49e
increment build number
2004-10-07 20:44:56 +00:00
skidder
f79fdfff47
increment build number
2004-10-07 20:25:45 +00:00
robocop
57c0165984
increment build number
2004-10-07 09:59:04 +00:00
robocop
d973e20600
Looking at gpre.c in FB1 and the usage of the variable fatal_env, it's evident that the conversion SEH->C++ try/except screwed the logic. The original idea was that CPR_abort will cause the program to exit gracefully, not to continue parsing, because it's useless and clutters the console with hundreds of messages. As far as I can test, when gpre cannot attach to the db, run-time failures can be detected by gpre_static or a false result is converted in exception. The new gpre_exception propagates up to the highest level where it allows the program to exit gracefully as it was in FB1. Until now, the behavior in FB1.5 & FB2 has been annoying. When we fail to connect to the db, anything more than we do is useless; we now will print a message, clean the house and exit. Hope everyone can compile my change.
2004-10-07 09:59:02 +00:00
robocop
d598b7bed2
increment build number
2004-10-07 09:46:28 +00:00
robocop
5833e93321
VMS-related changes. Just in case.
2004-10-07 09:46:03 +00:00
robocop
a2b4041050
Treat literal strings as constants, please.
2004-10-07 09:42:03 +00:00
robocop
45f07932f5
increment build number
2004-10-07 09:42:02 +00:00
robocop
04bdbb9b39
increment build number
2004-10-07 09:27:36 +00:00
robocop
74a5dbac5b
increment build number
2004-10-07 09:27:35 +00:00
robocop
373b5e27de
Fixed a bug in fatal_exception's constructor that causes fill_status to write garbage in the status vector.
...
Overload what() for the same class. It helps gpre to quit on failures (gpre changes still not posted).
2004-10-07 09:27:34 +00:00
robocop
68d33d4051
increment build number
2004-10-07 09:24:28 +00:00
robocop
7b01a5d1c8
Ugh, a change that belong to another, still not posted "configuration" slipped in. Go back.
2004-10-07 09:24:26 +00:00
robocop
c63ae6c01d
increment build number
2004-10-07 09:19:27 +00:00
robocop
4cf152ec65
Misc.
2004-10-07 09:19:25 +00:00
robocop
d522bc65cf
increment build number
2004-10-07 09:19:24 +00:00
dimitr
ecc64eb955
increment build number
2004-10-07 09:15:36 +00:00
dimitr
421f259a4e
1) Locks related cleanup
...
2) Got rid of TRA_nowait + transaction waits related cleanup
3) Return isc_lock_timeout when it's necessary
TODO: Enhance SET TRANSACTION
2004-10-07 09:15:32 +00:00
robocop
c29bf6d540
increment build number
2004-10-07 09:02:27 +00:00
robocop
4778d95532
Possible buffer overrun.
2004-10-07 09:02:24 +00:00
robocop
ff5e75b7bf
increment build number
2004-10-07 09:01:43 +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
9bc25c625c
increment build number
2004-10-07 08:44:04 +00:00
robocop
fd044f5851
Misc
2004-10-07 08:43:53 +00:00
robocop
a645f4f3d2
increment build number
2004-10-07 08:35:28 +00:00
robocop
ac4aa367b9
recalculate_length(),
...
copy_to(), safe copy to a char array,
constness,
style.
2004-10-07 08:35:25 +00:00
robocop
3cc621f651
increment build number
2004-10-07 08:35:24 +00:00
robocop
a8518a7336
increment build number
2004-10-07 08:33:56 +00:00
robocop
7581e18254
Little simplification.
2004-10-07 08:33:51 +00:00
robocop
3fafddbcbc
increment build number
2004-10-07 08:29:47 +00:00
robocop
5c076e9aea
Clarification on badly written old comment (problem with embedded blanks in identifiers)
2004-10-07 08:29:44 +00:00
robocop
836574553a
increment build number
2004-10-07 08:28:50 +00:00
robocop
2928b139ae
1.- Style.
...
2.- The const_cast is no longer needed.
2004-10-07 08:28:47 +00:00
robocop
9dcef42b90
increment build number
2004-10-07 08:27:49 +00:00
robocop
ba48b1d1c9
Style
2004-10-07 08:27:45 +00:00
robocop
4625933fc9
increment build number
2004-10-07 08:25:51 +00:00
robocop
78c5931171
Fix a problem caused by cleanup changing #define to pointer to literal string.
...
Due to sizeof being involved, gbak could misinterpret a file as been a valid part of a multi-file backup.
2004-10-07 08:25:48 +00:00
robocop
723b7836a4
increment build number
2004-10-07 08:23:55 +00:00
robocop
77814b6cf5
Unused crud
2004-10-07 08:23:53 +00:00
robocop
09303836d4
increment build number
2004-10-07 08:21:20 +00:00
robocop
f066045351
Misc and treat string literals as constants.
2004-10-07 08:21:15 +00:00
skidder
10821c70a7
increment build number
2004-10-07 06:15:14 +00:00
skidder
2ce8ec6f11
Report lock manager error code to the user when pessimistic lock conflict is encountered. This change fixes a problem with deadlock reporting for pessimistic locks so it should be backported to B1_5_Release
2004-10-07 06:15:09 +00:00
fsg
26cfad57e7
increment build number
2004-10-07 01:10:03 +00:00
asfernandes
1b1e672f1b
increment build number
2004-10-06 22:29:43 +00:00
asfernandes
4e5ac16b40
increment build number
2004-10-06 22:29:39 +00:00
arnobrinkman
07238fc57d
increment build number
2004-10-06 11:44:07 +00:00
arnobrinkman
0209cf6c1f
bugfix on previous commit
2004-10-06 11:44:03 +00:00
asfernandes
d67111d26d
increment build number
2004-10-06 02:14:24 +00:00
asfernandes
a54f77ab8e
increment build number
2004-10-06 01:40:58 +00:00
asfernandes
65e6f366db
increment build number
2004-10-06 01:37:32 +00:00
fsg
464b195889
increment build number
2004-10-06 01:11:49 +00:00
fsg
c62d9dec2f
increment build number
2004-10-06 01:11:05 +00:00
asfernandes
fad9e93903
increment build number
2004-10-06 01:05:05 +00:00
arnobrinkman
0dba4e28e7
increment build number
2004-10-05 21:09:54 +00:00
arnobrinkman
36f0cc2527
fix problem with duplicate keys and wrong second recordnumber order in IDX_create_index
2004-10-05 21:09:51 +00:00
dimitr
e83175565c
increment build number
2004-10-05 20:16:45 +00:00
dimitr
275673fcf1
Fixed possible resource leaks for procedured subqueries.
2004-10-05 20:16:29 +00:00
hvlad
33bd3ab9f9
increment build number
2004-10-05 15:10:04 +00:00
dimitr
b552891762
increment build number
2004-10-05 15:01:38 +00:00
dimitr
d211a15478
increment build number
2004-10-05 14:32:34 +00:00
robocop
ac4478fe46
increment build number
2004-10-05 11:09:08 +00:00
robocop
1981b3e265
Add the files that show the differences between the old and the new ib_udf library and the script that upgrades system tables directly for people going from v1.5 to v2 that have the udf's already in use.
2004-10-05 11:09:06 +00:00
robocop
1c4a8fc19f
increment build number
2004-10-05 11:05:21 +00:00
robocop
66f36e0575
increment build number
2004-10-05 11:04:43 +00:00
paul_reeves
20097b332b
increment build number
2004-10-05 10:56:56 +00:00
paul_reeves
c65492d8d3
increment build number
2004-10-05 10:56:55 +00:00
paul_reeves
809de8f496
increment build number
2004-10-05 10:56:50 +00:00
paul_reeves
5b17ee1126
increment build number
2004-10-05 10:56:47 +00:00
hvlad
684a23096b
increment build number
2004-10-05 07:03:46 +00:00
hvlad
4591207542
Correct on-stack constructor for SparseBitmap (discussed with Nickolay)
2004-10-05 07:03:26 +00:00
fsg
16a86758e6
increment build number
2004-10-05 01:09:06 +00:00
fsg
8ad5588f4c
increment build number
2004-10-05 01:08:17 +00:00
alexpeshkoff
1809423469
increment build number
2004-10-04 16:55:16 +00:00
robocop
39547d4b1b
increment build number
2004-10-04 08:47:51 +00:00
robocop
a80a37cd1b
Make fbudf more civilized:
...
- Functions that use an output argument shouldn't return anything.
- Signal null output blob if the engine understands it.
- Make input parameter const except in some cases where the library plays with input params using internal engine knowledge (not recommended for general usage).
2004-10-04 08:47:41 +00:00
robocop
c23b1ec33f
increment build number
2004-10-04 08:37:54 +00:00
robocop
d6f9a7874a
Close vulnerability #6 in gds__interprete's new version.
...
In the loop, if several parameter exist, they are copied one after another in the same dynamic buffer. Therefore, for the 2nd param and more, we don't have the full buffer size to copy arguments, but only the remainder. Big buffer overflow could happen here.
If there's no buffer at all (from fix #5 ), the empty literal string is passed.
Now, fb_interpret seems ready to be used.
2004-10-04 08:37:49 +00:00
robocop
1999c4b699
increment build number
2004-10-04 08:15:02 +00:00
robocop
ed17cfafbf
Style:
...
if<space>(
for<space>(
switch<space>(
while<space>(
2004-10-04 08:15:00 +00:00
robocop
af7009beab
increment build number
2004-10-04 08:14:56 +00:00
robocop
e9c4099501
increment build number
2004-10-04 08:14:55 +00:00
robocop
cc4b4519b4
increment build number
2004-10-04 08:14:48 +00:00
robocop
9ae6ff9817
increment build number
2004-10-04 08:14:43 +00:00
robocop
d563607b99
increment build number
2004-10-04 08:14:39 +00:00
robocop
111568b907
increment build number
2004-10-04 08:07:36 +00:00
robocop
4964a1c7a1
Close vulnerability #5 in gds__interprete's new version, reported by Dmitry Sibiryakov.
...
When copying paramters to a dynamic buffer, the null terminator was written beyond the buffer's end.
Additionally, if there's no buffer at all (to be evident when fix #6 is posted), the empty literal string is passed.
2004-10-04 08:07:28 +00:00
robocop
6d9cd4c7c3
increment build number
2004-10-04 07:38:33 +00:00
robocop
43c46a29cd
Close vulnerability #4 in gds__interprete's new version.
...
Static array with 10 places to hold pointers to parameters (isc_arg_string, isc_arg_number & isc_arg_cstring) may overflow in the loop that fills it and doesn't check bounds.
2004-10-04 07:38:28 +00:00
skidder
5ad0284800
increment build number
2004-10-04 05:23:59 +00:00
skidder
abf5277660
increment build number
2004-10-04 05:23:58 +00:00
robocop
f1b30f408b
increment build number
2004-10-04 04:59:46 +00:00
robocop
77a26b2156
increment build number
2004-10-04 04:59:45 +00:00
robocop
e5ad0f1a7f
Misc cleanup.
2004-10-04 04:59:43 +00:00
robocop
0535156358
increment build number
2004-10-04 04:59:42 +00:00
robocop
da2a5c1abc
Finalize Nickolay's rollback of my changes to get MSVC6 compiling HEAD.
2004-10-04 04:59:05 +00:00
robocop
b231d30b4e
increment build number
2004-10-04 04:45:06 +00:00
robocop
c3fb316461
increment build number
2004-10-04 04:44:53 +00:00
robocop
bdf5dea379
Close vulnerability #3 in gds__interprete's new version.
...
Traditional sprintf could write past the end of buffer.
2004-10-04 04:44:52 +00:00
robocop
1f9ca2fb2f
increment build number
2004-10-04 04:43:45 +00:00
robocop
b4704b7bf4
increment build number
2004-10-04 04:43:44 +00:00
robocop
54b61b6cd5
Totally misc: typo in comment.
2004-10-04 04:43:42 +00:00
robocop
a13558c917
increment build number
2004-10-04 04:42:58 +00:00
robocop
0a7c7d1860
Fix problem created by Blas' cleanup (went unnoticed at its due time).
...
sizeof(literal string) != sizeof(pointer to literal string)
Possible buffer overrun in one place.
2004-10-04 04:42:56 +00:00
robocop
c25fa7a153
increment build number
2004-10-04 04:39:59 +00:00
robocop
9b112424fa
Months ago I marked a buffer overrun in deliver_request().
...
Now I think I've fixed it.
2004-10-04 04:39:55 +00:00
asfernandes
5631d1fa70
increment build number
2004-10-04 02:00:02 +00:00
asfernandes
a15eaca9a8
increment build number
2004-10-04 01:59:58 +00:00
fsg
bc597c6f70
increment build number
2004-10-04 01:08:54 +00:00
asfernandes
df29eee21d
increment build number
2004-10-03 23:05:31 +00:00
asfernandes
5c6760616c
increment build number
2004-10-03 23:05:05 +00:00
asfernandes
ae724176ea
increment build number
2004-10-03 23:05:01 +00:00
asfernandes
0ae648f26e
increment build number
2004-10-03 23:05:00 +00:00
asfernandes
be9ca9c237
increment build number
2004-10-03 23:04:53 +00:00
asfernandes
12cc466cef
increment build number
2004-10-03 23:04:39 +00:00
asfernandes
4d58ab2ee4
increment build number
2004-10-03 23:04:27 +00:00
asfernandes
3176f45b0b
increment build number
2004-10-03 23:03:50 +00:00
asfernandes
4eee6189a2
increment build number
2004-10-03 23:03:49 +00:00
asfernandes
6a5fd35abb
increment build number
2004-10-03 23:03:41 +00:00
asfernandes
d206651fb0
increment build number
2004-10-03 23:03:37 +00:00
asfernandes
d8bf06633d
increment build number
2004-10-03 23:03:35 +00:00
asfernandes
70e86e4a27
increment build number
2004-10-03 23:03:06 +00:00
asfernandes
943d39619c
increment build number
2004-10-03 23:03:00 +00:00
asfernandes
63d24b69a3
increment build number
2004-10-03 23:02:24 +00:00
asfernandes
9c89e39ebc
increment build number
2004-10-03 23:02:23 +00:00
asfernandes
5f4ec3fc30
increment build number
2004-10-03 23:02:12 +00:00
asfernandes
53435eb27d
increment build number
2004-10-03 23:02:08 +00:00
asfernandes
9ce4813f56
increment build number
2004-10-03 23:02:07 +00:00
asfernandes
aed7e735c6
increment build number
2004-10-03 23:02:02 +00:00
asfernandes
85aebc4be4
increment build number
2004-10-03 23:01:58 +00:00