Package: sqlite / 2.8.17-15

Metadata

Package Version Patches format
sqlite 2.8.17-15 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01 fix CVE 2007 1888.patch | (download)

src/encode.c | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

---
02 lemon snprintf.patch | (download)

tool/lemon.c | 20 11 + 9 - 0 !
1 file changed, 11 insertions(+), 9 deletions(-)

---
03 add fprintf format argument.patch | (download)

src/shell.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
04 fix sort syntax.patch | (download)

Makefile.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 obsolete command line syntax
 As well as the tclsh issue the log also shows:
 sort: cannot read: +4: No such file or directory
 Which seems to be down to the use of an obsolete command line syntax.
 Seemingly the supported syntax is "sort -k 4".
05 link_with_LDFLAGS.patch | (download)

Makefile.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 add ldflags to linker
06 cross.patch | (download)

configure.ac | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 fix wrong uses of ac_check_file

AC_CHECK_FILE is meant to exercise the host system, but we have no reasonable
expectation that headers will be present on a host system nor do we need that.
It really only matters whether they are present on the build system and we can
simply test that.

07 multiarch.patch | (download)

Makefile.in | 12 7 + 5 - 0 !
1 file changed, 7 insertions(+), 5 deletions(-)

 <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 sqlite (2.8.17-15) unstable; urgency=medium
 .
   * Non-maintainer upload.
08 fix_unsigned_FTBFS.patch | (download)

tool/lemon.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix ftbfs with gcc 7/8 on architectures with unsigned char
 In some cases, hash ends up with a negative value, causing the crash.
 Starting with GCC 7, the & 0x7fffffff is optimized out on architectures
 which have an unsigned char. stddt is defined as a char, and hash as a
 (signed) int. Integer wraparound (overflow) is not defined by the C
 standard, so GCC is allowed to optimize out the bitwise operation if
 sddt is unsigned.
09 tcl8.6_compat.patch | (download)

src/md5.c | 4 2 + 2 - 0 !
src/tclsqlite.c | 4 2 + 2 - 0 !
2 files changed, 4 insertions(+), 4 deletions(-)

 don't access tcl internal variables directly
 Use API function to get result from Tcl.