add usr/lib/security-misc/apt-get-update-sanity-test

a CVE-2016-1252 sanity test script
This commit is contained in:
Patrick Schleizer 2017-02-14 02:37:08 +00:00
parent 5e07641553
commit 9b0d3e34fc
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -0,0 +1,12 @@
#!/bin/bash
## This file is part of Whonix.
## Copyright (C) 2012 - 2014 Patrick Schleizer <adrelanos@riseup.net>
## See the file COPYING for copying conditions.
set -x
set -e
set -o pipefail
wc -L "/var/lib/apt/lists/"*InRelease
wc -L "/var/lib/apt/lists/"*InRelease | awk '$1 > 1024 {print; exit 1}'