mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Limit the "precision" of floating-point to text conversions in the printf()
function to 100,000,000. Fix for ticket [23439ea582241138]. FossilOrigin-Name: d08d3405878d394e08e5d3af281246edfbd81ca74cc8d16458808591512fb93d
This commit is contained in:
@ -3777,4 +3777,11 @@ foreach ::iRepeat {0 1} {
|
||||
}
|
||||
}
|
||||
|
||||
# 2020-05-23
|
||||
# ticket 23439ea582241138
|
||||
#
|
||||
do_execsql_test printf-16.1 {
|
||||
SELECT printf('%.*g',2147483647,0.01);
|
||||
} {0.01}
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user