mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-01 09:10:03 +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 <waleed.elmelegy@arm.com>
This commit is contained in:
parent
476c1198e8
commit
1444c0eb20
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user