Changeset: 3060f49253a6 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/3060f49253a6
Modified Files:
        gdk/gdk_bbp.c
Branch: Dec2023
Log Message:

Do not try to dereference a pointer with value 1.


diffs (12 lines):

diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c
--- a/gdk/gdk_bbp.c
+++ b/gdk/gdk_bbp.c
@@ -3903,7 +3903,7 @@ BBPbackup(BAT *b, bool subcommit)
                return GDK_SUCCEED;
        }
        assert(b->theap->parentid == b->batCacheid);
-       if (b->oldtail) {
+       if (b->oldtail && b->oldtail != (Heap *) 1) {
                bi.h = b->oldtail;
                bi.hdirty = b->oldtail->dirty;
        }
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to