This patch addresses he sqlite3 the tmpdir selection vulnerability (CVE-2016-6153) for stable/10. The patches are discussed by Debian here: https://lists.debian.org/debian-lts/2016/07/msg00004.html. Upline sqlite patches are as follows:
http://www.sqlite.org/cgi/src/info/67985761aa93fb61
http://www.sqlite.org/cgi/src/info/b38fe522cfc971b3
http://www.sqlite.org/cgi/src/info/614bb709d34e1148
Since code for sqlite 1.8 in stable/10's sqlite3 source files is laid out much differently I had to glean the changed statements from the upline patches to build a patch for stable/10. I'd appreciate a review.
Should anyone else review this?
Would we prefer to MFC sqlite3 1.14.1 to stable/10 instead?