Thread (27 messages) 27 messages, 3 authors, 2021-07-19

Re: [PATCH v2 01/12] profile_create_node: set magic before strdup(name) to avoid memory leak

From: "Theodore Y. Ts'o" <tytso@mit.edu>
Date: 2021-07-16 03:19:10

On Wed, Jun 30, 2021 at 04:27:13PM +0800, wuguanghao wrote:
If new->magic != PROF_MAGIC_NODE, profile_free_node() don't free node.
This will cause the node to be unable to be released correctly and
a memory leak will occur.

Signed-off-by: Wu Guanghao <redacted>
Signed-off-by: Zhiqiang Liu <redacted>
Reviewed-by: Wu Bo <redacted>
Applied, thanks.

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