Skip to content

pr-git-983/klebertarcisio/patch-1-v1

From: =?UTF-8?q?Kleber=20Tarc=C3=ADsio?= <klebertarcisio@yahoo.com.br>

The malloc function can return null when the memory allocation fails. This commit adds a condition to handle these cases properly. https://cwe.mitre.org/data/definitions/476.html

Signed-off-by: Kleber Tarcísio <klebertarcisio@yahoo.com.br>

Submitted-As: https://lore.kernel.org/git/pull.983.git.git.1616323936790.gitgitgadget@gmail.com
Assets 2