mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-08 03:22:21 +03:00
If an sqlite3_mprintf() call uses a disallowed internal-use-only conversion
character, then abort the call with a -1 error code. Ticket #1818. (CVS 3187) FossilOrigin-Name: 9d7297b9ef6ca2f35116e37f993bb029cf03d4f0
This commit is contained in:
@@ -333,6 +333,8 @@ static int vxprintf(
|
||||
infop = &fmtinfo[idx];
|
||||
if( useExtended || (infop->flags & FLAG_INTERN)==0 ){
|
||||
xtype = infop->type;
|
||||
}else{
|
||||
return -1;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user