summaryrefslogtreecommitdiff
path: root/tests/CVE-2018-1000654.c
diff options
context:
space:
mode:
authorDariusz Michaluk <d.michaluk@samsung.com>2024-02-13 15:44:51 +0100
committerDariusz Michaluk <d.michaluk@samsung.com>2024-02-14 10:46:44 +0100
commitc28e9eeaa4dccef63b3b237ebe8a8b5abb23e335 (patch)
tree504a1953b56446487f4759d3a5f348bbeb925461 /tests/CVE-2018-1000654.c
parent1778d37a3eec1209d7c9c064318f3ff8c5132490 (diff)
parent031996ef501f8c3d0532f7df1c38cf2e540a4f11 (diff)
downloadlibtasn1-tizen.tar.gz
libtasn1-tizen.tar.bz2
libtasn1-tizen.zip
Change-Id: I893fd2c90c487d6e13b0b10e25b2cafc408da180
Diffstat (limited to 'tests/CVE-2018-1000654.c')
-rw-r--r--tests/CVE-2018-1000654.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/tests/CVE-2018-1000654.c b/tests/CVE-2018-1000654.c
index b85fcc5..0c22b70 100644
--- a/tests/CVE-2018-1000654.c
+++ b/tests/CVE-2018-1000654.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2002-2018 Free Software Foundation, Inc.
+ * Copyright (C) 2002-2022 Free Software Foundation, Inc.
*
* This file is part of LIBTASN1.
*
@@ -38,9 +38,11 @@ main (int argc, char *argv[])
if (argc > 1)
verbose = 1;
- printf("Test 1\n");
+ printf ("Test 1\n");
- result = asn1_array2tree (CVE_2018_1000654_1_asn1_tab, &definitions, errorDescription);
+ result =
+ asn1_array2tree (CVE_2018_1000654_1_asn1_tab, &definitions,
+ errorDescription);
if (result != ASN1_RECURSION)
{
asn1_perror (result);
@@ -50,9 +52,11 @@ main (int argc, char *argv[])
asn1_delete_structure (&definitions);
- printf("Test 2\n");
+ printf ("Test 2\n");
- result = asn1_array2tree (CVE_2018_1000654_2_asn1_tab, &definitions, errorDescription);
+ result =
+ asn1_array2tree (CVE_2018_1000654_2_asn1_tab, &definitions,
+ errorDescription);
if (result != ASN1_RECURSION)
{
asn1_perror (result);