mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-12-24 17:41:01 +03:00
Add changelog entry for x509 cert_write null dereference fix
Also fix a typo in cert_write.c Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
This commit is contained in:
2
ChangeLog.d/fix-issue-x509-cert_write.txt
Normal file
2
ChangeLog.d/fix-issue-x509-cert_write.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
Bugfix
|
||||
* Fix possible NULL dereference issue in X509 cert_write program if an entry in the san parameter is not separated by a colon.
|
||||
@@ -584,7 +584,7 @@ usage:
|
||||
if ((subtype_value = strchr(q, ':')) != NULL) {
|
||||
*subtype_value++ = '\0';
|
||||
} else {
|
||||
mbedtls_printf("Invalid argument for option SAN: Entry should be seperated by a colon\n");
|
||||
mbedtls_printf("Invalid argument for option SAN: Entry should be separated by a colon\n");
|
||||
goto usage;
|
||||
}
|
||||
if (strcmp(q, "RFC822") == 0) {
|
||||
|
||||
Reference in New Issue
Block a user