SHA256
1
0
forked from pool/sqlite3

- bsc#1150137, CVE-2019-16168, sqlite3-CVE-2019-16168.patch:

Improper validation of qlite_stat1 sz field leads to division by
  zero.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=231
This commit is contained in:
2019-09-10 15:21:46 +00:00
committed by Git OBS Bridge
parent 756d8b5bef
commit a68ee4aeaf
3 changed files with 55 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ URL: http://www.sqlite.org/
Source0: http://www.sqlite.org/2019/sqlite-src-%{tarversion}.zip
Source1: baselibs.conf
Source2: http://www.sqlite.org/2019/sqlite-doc-%{tarversion}.zip
Patch0: sqlite3-CVE-2019-16168.patch
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig
@@ -103,6 +104,7 @@ other documentation found on sqlite.org. The files can be found in
%prep
%setup -q -n sqlite-src-%{tarversion} -a2
%patch0
rm -v sqlite-doc-%{tarversion}/releaselog/current.html
ln -sv `echo %{version} | sed "s/\./_/g"`.html sqlite-doc-%{tarversion}/releaselog/current.html
find -type f -name sqlite.css~ -delete