Commit b1ccfcb
committed
[Backport] Security bug 415397143
Manual cherry-pick of patch originally published at
https://sqlite.org/src/info/2adaee9aa90f280a:
Fix a bug in the NOT NULL/IS NULL optimization of check-in [cb94350185f555c3] that can cause invalid
data to be used for a column if that column has a CHECK constraint that includes the NOT NULL or
IS NULL operator. Problem discovered by the Chromium fuzzer. Never seen in the wild, as far as
anybody knows.
Original patch by drh.
Change-Id: Icd9963f14b35bb393e9b1269c0c74b8d30b225bb
Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/659331
Reviewed-by: Moss Heim <[email protected]>1 parent 09d2d7d commit b1ccfcb
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96794 | 96794 | | |
96795 | 96795 | | |
96796 | 96796 | | |
| 96797 | + | |
96797 | 96798 | | |
96798 | 96799 | | |
96799 | 96800 | | |
| |||
114745 | 114746 | | |
114746 | 114747 | | |
114747 | 114748 | | |
114748 | | - | |
| 114749 | + | |
| 114750 | + | |
114749 | 114751 | | |
114750 | 114752 | | |
114751 | 114753 | | |
114752 | | - | |
114753 | 114754 | | |
114754 | 114755 | | |
114755 | 114756 | | |
| |||
114920 | 114921 | | |
114921 | 114922 | | |
114922 | 114923 | | |
114923 | | - | |
| 114924 | + | |
| 114925 | + | |
114924 | 114926 | | |
114925 | 114927 | | |
114926 | 114928 | | |
114927 | | - | |
114928 | 114929 | | |
114929 | 114930 | | |
114930 | 114931 | | |
| |||
0 commit comments