Re: [PATCH] fix null pointer dereference
- From
Matheus Tavares Bernardino <matheus.bernardino@usp.br>
- Date
- Mar 21, 2021, 14:47 UTC
- Message-ID
- <CAHd-oW6hOQ5Qim1xMOJ23kjcpo1M-K1dDvzGKYjBCD9XoT2G+A@mail.gmail.com>
- In-Reply-To
- <pull.983.git.git.1616323936790.gitgitgadget@gmail.com>
Hi, Kleber. And welcome to the list!
On Sun, Mar 21, 2021 at 7:53 AM Kleber Tarcísio via GitGitGadget <gitgitgadget@gmail.com> wrote:
> > 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
If you are going to re-roll this series, please wrap the commit message body at 72 columns. This helps viewing the message in 80-columns terminals. (For more info on this and other commit message conventions used by the Git project, please take a look at the corresponding sections at Documentation/MyFirstContribution.txt and Documentation/SubmittingPatches).
Thanks, Matheus