c5d5fcb2a53e4c1c3b7a848fbbd73c9bc2727d4c braney Tue Jun 25 14:41:53 2024 -0700 change a buffer that was 64k to 1mg. diff --git src/hg/lib/hubConnect.c src/hg/lib/hubConnect.c index c3e75b4..1b7b404 100644 --- src/hg/lib/hubConnect.c +++ src/hg/lib/hubConnect.c @@ -855,31 +855,31 @@ * the cart variable the references this hub */ { /* clear the hubStatus table */ unsigned id = hubClearStatus(url); /* remove the cart variable */ char buffer[1024]; safef(buffer, sizeof buffer, "hgHubConnect.hub.%d", id); cartRemove(cart, buffer); } void hubUpdateStatus(char *errorMessage, struct hubConnectStatus *hub) /* set the error message in the hubStatus table */ { struct sqlConnection *conn = hConnectCentral(); -char query[64 * 1024]; +char query[1024 * 1024]; struct trackHub *tHub = NULL; if (hub != NULL) tHub = hub->trackHub; if (errorMessage != NULL) { // make sure there is no newline at the end. This should be unneccesary // but there are many, many places where newlines are added in calls // to warn and errAbort char buffer[64 * 1024]; safecpy(buffer, sizeof buffer, errorMessage); while (lastChar(buffer) == '\n') buffer[strlen(buffer) - 1] = '\0'; sqlSafef(query, sizeof(query),