Changeset: d1b81dda8de4 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/d1b81dda8de4
Modified Files:
        monetdb5/mal/mal_listing.c
Branch: Mar2025
Log Message:

Write NULL byte to end string.


diffs (11 lines):

diff --git a/monetdb5/mal/mal_listing.c b/monetdb5/mal/mal_listing.c
--- a/monetdb5/mal/mal_listing.c
+++ b/monetdb5/mal/mal_listing.c
@@ -137,6 +137,7 @@ renderTerm(MalBlkPtr mb, MalStkPtr stk, 
                }
                GDKfree(cv);
        }
+       *bufend = 0;
        // show the type when required or frozen by the user
        // special care should be taken with constants, they may have been 
casted
        if ((flg & LIST_MAL_TYPE) || (idx < p->retc) || isVarTypedef(mb, varid)
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to