1
0
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:
drh
2006-05-22 22:04:00 +00:00
parent db5138885b
commit c44135657c
3 changed files with 9 additions and 7 deletions

View File

@@ -333,6 +333,8 @@ static int vxprintf(
infop = &fmtinfo[idx];
if( useExtended || (infop->flags & FLAG_INTERN)==0 ){
xtype = infop->type;
}else{
return -1;
}
break;
}