SQLite

Check-in [f8b159794c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add the SQLITE_LIMIT_PRINTF_WIDTH setting for sqlite3_limit() and associated logic for preventing DOS attacks using printf() with oversized widths or precisions.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | limit-printf-width
Files: files | file ages | folders
SHA1: f8b159794c3855cad86d755cc7422ddc21722200
User & Date: drh 2015-05-02 18:25:25.099
Context
2015-05-02
18:25
Add the SQLITE_LIMIT_PRINTF_WIDTH setting for sqlite3_limit() and associated logic for preventing DOS attacks using printf() with oversized widths or precisions. (Leaf check-in: f8b159794c user: drh tags: limit-printf-width)
17:40
Add the ".limit" command to the command-line shell. (check-in: 803cb60e75 user: drh tags: trunk)
Changes
Unified Diff Side-by-Side Diff Patch
Changes to src/func.c.
Changes to src/main.c.
Changes to src/printf.c.
Changes to src/shell.c.
Changes to src/sqlite.h.in.
Changes to src/sqliteInt.h.
Changes to src/sqliteLimit.h.
Changes to src/test1.c.