Changeset: 11a7d8d94a7b for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=11a7d8d94a7b
Modified Files:
monetdb5/modules/mal/tablet.c
Branch: Feb2013
Log Message:
fixed bug 3269, ie out of bounds write.
diffs (12 lines):
diff --git a/monetdb5/modules/mal/tablet.c b/monetdb5/modules/mal/tablet.c
--- a/monetdb5/modules/mal/tablet.c
+++ b/monetdb5/modules/mal/tablet.c
@@ -1513,7 +1513,7 @@ SQLload_file(Client cntxt, Tablet *as, b
* the middle of the record separator). If this is too
* costly, we have to rethink the matter. */
e = s;
- while (s < end && (maxrow < 0 || cnt < (BUN) maxrow)) {
+ while (s < end && task->next < task->limit && (maxrow < 0 ||
cnt < (BUN) maxrow)) {
char q = 0;
/* tokenize the record completely the format of the
input
* should comply to the following grammar rule [
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list