[YSQL][SQLsmith] TRAP: FailedAssertion("!(buf[len - 1] == '\0')", File: "../../../../../src/postgres/src/common/psprintf.c", Line: 123) #11251
Labels
area/ysql
Yugabyte SQL (YSQL)
kind/bug
This issue is a bug
kind/failing-test
Tests and testing infra
priority/medium
Medium priority issue
qa_automation
Bugs identified via itest-system, LST, Stress automation or causing automation failures
Jira Link: DB-790
Description
Found by SQLsmith. Similar to #11250 , this also happens while shutting down tserver due to #11233, also can't reproduce:
But a missing \0 at the end of the buffer could lead to out-of-bounds reads, depending on how that buffer is being used, so this seems worth investigating.
The text was updated successfully, but these errors were encountered: