mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-08-15 15:47:49 +00:00
Add changelog entry for x509 cert_write null dereference fix
Also fix a typo in cert_write.c Signed-off-by: Waleed Elmelegy <[email protected]>
This commit is contained in:
@@ -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