summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoralexei.volkov.bugs%sun.com <devnull@localhost>2008-03-25 22:14:22 +0000
committeralexei.volkov.bugs%sun.com <devnull@localhost>2008-03-25 22:14:22 +0000
commit9376585d5529b650b8210d1cbcc88c3264be521e (patch)
tree98f6618a92d6e45ffb142532ff3a81e4fc52ab41 /security
parent347439dc2766e4c7508f5d73061f455e08208201 (diff)
downloadnss-hg-9376585d5529b650b8210d1cbcc88c3264be521e.tar.gz
397832 - libpkix leaks memory if a macro calls a function that returns an error.
Patch 311421. New files. r=nelson.
Diffstat (limited to 'security')
-rw-r--r--security/nss/tests/libpkix/cert_trust.map3
-rw-r--r--security/nss/tests/libpkix/certs/TestCA.ca.certbin0 -> 628 bytes
-rw-r--r--security/nss/tests/libpkix/certs/TestUser50.certbin0 -> 613 bytes
-rw-r--r--security/nss/tests/libpkix/certs/TestUser51.certbin0 -> 613 bytes
-rw-r--r--security/nss/tests/libpkix/vfychain_test.lst4
5 files changed, 7 insertions, 0 deletions
diff --git a/security/nss/tests/libpkix/cert_trust.map b/security/nss/tests/libpkix/cert_trust.map
new file mode 100644
index 000000000..df181dcbe
--- /dev/null
+++ b/security/nss/tests/libpkix/cert_trust.map
@@ -0,0 +1,3 @@
+TestCA.ca CT,C,C
+TestUser50 ,,
+TestUser51 ,,
diff --git a/security/nss/tests/libpkix/certs/TestCA.ca.cert b/security/nss/tests/libpkix/certs/TestCA.ca.cert
new file mode 100644
index 000000000..f68512a12
--- /dev/null
+++ b/security/nss/tests/libpkix/certs/TestCA.ca.cert
Binary files differ
diff --git a/security/nss/tests/libpkix/certs/TestUser50.cert b/security/nss/tests/libpkix/certs/TestUser50.cert
new file mode 100644
index 000000000..304f8f560
--- /dev/null
+++ b/security/nss/tests/libpkix/certs/TestUser50.cert
Binary files differ
diff --git a/security/nss/tests/libpkix/certs/TestUser51.cert b/security/nss/tests/libpkix/certs/TestUser51.cert
new file mode 100644
index 000000000..0cbeb1bcf
--- /dev/null
+++ b/security/nss/tests/libpkix/certs/TestUser51.cert
Binary files differ
diff --git a/security/nss/tests/libpkix/vfychain_test.lst b/security/nss/tests/libpkix/vfychain_test.lst
new file mode 100644
index 000000000..d412c0b13
--- /dev/null
+++ b/security/nss/tests/libpkix/vfychain_test.lst
@@ -0,0 +1,4 @@
+# Status | Leaf Cert | Policies | Others(undef)
+0 TestUser50 undef
+0 TestUser51 undef
+