summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorEkaterina Orlova <vorobushek.ok@gmail.com>2023-04-21 17:35:39 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-26 15:30:09 +0300
commit0a75851daf4115df3532499a2f496dc09191c459 (patch)
tree898cd72554c4536601630b6f648f969081a2c5b3 /arch/arm/mach-omap2
parent3ec6943ea567cbbe491d5fb3de8495b03897e80e (diff)
downloadlinux-0a75851daf4115df3532499a2f496dc09191c459.tar.xz
ASN.1: Fix check for strdup() success
commit 5a43001c01691dcbd396541e6faa2c0077378f48 upstream. 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 <vorobushek.ok@gmail.com> Cc: David Woodhouse <dwmw2@infradead.org> Cc: James Bottomley <jejb@linux.ibm.com> Cc: Jarkko Sakkinen <jarkko@kernel.org> Cc: keyrings@vger.kernel.org Cc: linux-kbuild@vger.kernel.org Link: https://lore.kernel.org/r/20230315172130.140-1-vorobushek.ok@gmail.com/ Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/mach-omap2')
0 files changed, 0 insertions, 0 deletions