Skip to content

Conversation

sbs2001
Copy link
Contributor

@sbs2001 sbs2001 commented Jan 13, 2020

Signed-off-by: sbs2001 [email protected]
Fixes #270 , #247

The signature test for ffmpeg is test_ffmpeg_deb_4_1_1 .

The CVE mapping test for ffmpeg is ffmpeg_4_1_3 .

Here is the output:

shivam@shivam-Latitude-D630:~/coding/opensource/cve-bin-tool$ python -m unittest test.test_scanner.TestScanner.test_ffmpeg_deb_4_1_1
rm *.out
gcc -o test-nss-3.45.out test-nss-3.45.c
gcc -o test-ffmpeg-4.1.3.out test-ffmpeg-4.1.3.c
gcc -o test-expat-2.0.1.out test-expat-2.0.1.c
gcc -o test-nss-3.35.out test-nss-3.35.c
gcc -o test-png-1.6.26.out test-png-1.6.26.c
gcc -o test-libgcrypt-1.7.6.out test-libgcrypt-1.7.6.c
gcc -o test-png-1.6.36.out test-png-1.6.36.c
gcc -o test-libjpeg-turbo-2.0.1.out test-libjpeg-turbo-2.0.1.c
gcc -o test-openssl-1.0.2g.out test-openssl-1.0.2g.c
gcc -o test-zlib-1.2.8.out test-zlib-1.2.8.c
gcc -o test-gnutls-serv-2.3.11.out test-gnutls-serv-2.3.11.c
gcc -o test-gnutls-cli-2.3.11.out test-gnutls-cli-2.3.11.c
gcc -o test-png-1.4.11.out test-png-1.4.11.c
gcc -o test-sqlite-3.12.2.out test-sqlite-3.12.2.c
gcc -o test-xml2-2.9.2.out test-xml2-2.9.2.c
gcc -o test-xml2-2.9.0.out test-xml2-2.9.0.c
gcc -o test-xerces-3_1_1.out test-xerces-3_1_1.c
gcc -o test-tiff-4.0.9.out test-tiff-4.0.9.c
gcc -o test-curl-7.59.0.out test-curl-7.59.0.c
gcc -o test-node-9.3.0.out test-node-9.3.0.c
gcc -o test-openssh-7.9.out test-openssh-7.9.c
gcc -o test-systemd-239.out test-systemd-239.c
gcc -o test-icu-3.8.1.out test-icu-3.8.1.c
gcc -o test-curl-7.34.0.out test-curl-7.34.0.c
gcc -o test-curl-7.57.0.out test-curl-7.57.0.c
gcc -o test-openssl-1.1.0g.out test-openssl-1.1.0g.c
gcc -o test-kerberos-5-1.15.1.out test-kerberos-5-1.15.1.c
Skip NVD database updates.
s
----------------------------------------------------------------------
Ran 1 test in 3.116s

OK (skipped=1)
shivam@shivam-Latitude-D630:~/coding/opensource/cve-bin-tool$ python -m unittest test.test_scanner.TestScanner.test_ffmpeg_4_1_3
rm *.out
gcc -o test-nss-3.45.out test-nss-3.45.c
gcc -o test-ffmpeg-4.1.3.out test-ffmpeg-4.1.3.c
gcc -o test-expat-2.0.1.out test-expat-2.0.1.c
gcc -o test-nss-3.35.out test-nss-3.35.c
gcc -o test-png-1.6.26.out test-png-1.6.26.c
gcc -o test-libgcrypt-1.7.6.out test-libgcrypt-1.7.6.c
gcc -o test-png-1.6.36.out test-png-1.6.36.c
gcc -o test-libjpeg-turbo-2.0.1.out test-libjpeg-turbo-2.0.1.c
gcc -o test-openssl-1.0.2g.out test-openssl-1.0.2g.c
gcc -o test-zlib-1.2.8.out test-zlib-1.2.8.c
gcc -o test-gnutls-serv-2.3.11.out test-gnutls-serv-2.3.11.c
gcc -o test-gnutls-cli-2.3.11.out test-gnutls-cli-2.3.11.c
gcc -o test-png-1.4.11.out test-png-1.4.11.c
gcc -o test-sqlite-3.12.2.out test-sqlite-3.12.2.c
gcc -o test-xml2-2.9.2.out test-xml2-2.9.2.c
gcc -o test-xml2-2.9.0.out test-xml2-2.9.0.c
gcc -o test-xerces-3_1_1.out test-xerces-3_1_1.c
gcc -o test-tiff-4.0.9.out test-tiff-4.0.9.c
gcc -o test-curl-7.59.0.out test-curl-7.59.0.c
gcc -o test-node-9.3.0.out test-node-9.3.0.c
gcc -o test-openssh-7.9.out test-openssh-7.9.c
gcc -o test-systemd-239.out test-systemd-239.c
gcc -o test-icu-3.8.1.out test-icu-3.8.1.c
gcc -o test-curl-7.34.0.out test-curl-7.34.0.c
gcc -o test-curl-7.57.0.out test-curl-7.57.0.c
gcc -o test-openssl-1.1.0g.out test-openssl-1.1.0g.c
gcc -o test-kerberos-5-1.15.1.out test-kerberos-5-1.15.1.c
Skip NVD database updates.
/home/shivam/coding/opensource/cve-bin-tool/test/binaries/test-ffmpeg-4.1.3.out contains ffmpeg 4.1.3
Known CVEs in version 4.1.3
CVE-2019-13390, CVE-2019-13312
.
----------------------------------------------------------------------
Ran 1 test in 3.372s

OK

Signed-off-by: sbs2001 <[email protected]>
@terriko
Copy link
Contributor

terriko commented Jan 14, 2020

Looks good, thank you! And thanks especially for updating test-ffmpeg-4.1.4 to something that actually works and thus doesn't have to be skipped.

@terriko terriko merged commit cc856c8 into intel:master Jan 14, 2020
@terriko terriko mentioned this pull request Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ffmpeg tests
2 participants