Thread (12 messages) 12 messages, 4 authors, 2023-09-05

Re: [PATCH net] net: deal with integer overflows in kmalloc_reserve()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2023-09-04 05:58:14

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller [off-list ref]:

On Thu, 31 Aug 2023 18:37:50 +0000 you wrote:
Blamed commit changed:
    ptr = kmalloc(size);
    if (ptr)
      size = ksize(ptr);

to:
    size = kmalloc_size_roundup(size);
    ptr = kmalloc(size);

[...]
Here is the summary with links:
  - [net] net: deal with integer overflows in kmalloc_reserve()
    https://git.kernel.org/netdev/net/c/915d975b2ffa

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help