mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Protect access to the Expr.y union using nearby assert()s and branches.
FossilOrigin-Name: 87e2f5eb436fc448427b0e24fb70f29688796b513b8c7b12f1a21540dae1e56d
This commit is contained in:
@@ -442,6 +442,7 @@ void sqlite3TreeViewExpr(TreeView *pView, const Expr *pExpr, u8 moreToFollow){
|
||||
sqlite3TreeViewLine(pView, "COLUMN(%d)%s%s",
|
||||
pExpr->iColumn, zFlgs, zOp2);
|
||||
}else{
|
||||
assert( ExprUseYTab(pExpr) );
|
||||
sqlite3TreeViewLine(pView, "{%d:%d} pTab=%p%s",
|
||||
pExpr->iTable, pExpr->iColumn,
|
||||
pExpr->y.pTab, zFlgs);
|
||||
|
||||
Reference in New Issue
Block a user