diff options
author | Ekaterina Orlova <[email protected]> | 2023-04-21 15:35:39 +0100 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2023-04-21 08:58:00 -0700 |
commit | 5a43001c01691dcbd396541e6faa2c0077378f48 (patch) | |
tree | e2464fd52685d2fedc2a14acf06eca3836b10c70 /scripts/gdb/linux/utils.py | |
parent | 2af3e53a4dc08657f1b46f97f04ff4a0ab3cad8d (diff) |
ASN.1: Fix check for strdup() success
It seems there is a misprint in the check of strdup() return code that
can lead to NULL pointer dereference.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 4520c6a49af8 ("X.509: Add simple ASN.1 grammar compiler")
Signed-off-by: Ekaterina Orlova <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: Jarkko Sakkinen <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]/
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions