Module Name:    src
Committed By:   christos
Date:           Sat Aug 15 01:03:03 UTC 2009

Modified Files:
        src/crypto/external/bsd/openssl/dist/apps: ocsp.c

Log Message:
don't try to free a buffer that came from the arguments, make a copy instead.
This can happen if we specify --port


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 src/crypto/external/bsd/openssl/dist/apps/ocsp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/openssl/dist/apps/ocsp.c
diff -u src/crypto/external/bsd/openssl/dist/apps/ocsp.c:1.1.1.2 src/crypto/external/bsd/openssl/dist/apps/ocsp.c:1.2
--- src/crypto/external/bsd/openssl/dist/apps/ocsp.c:1.1.1.2	Wed Aug  5 14:32:05 2009
+++ src/crypto/external/bsd/openssl/dist/apps/ocsp.c	Fri Aug 14 21:03:03 2009
@@ -226,7 +226,7 @@
 			if (args[1])
 				{
 				args++;
-				port = *args;
+				port = BUF_strdup(*args);
 				}
 			else badarg = 1;
 			}

Reply via email to