<meta http-equiv="Content-Type" content="text/html; charset=GB18030"><div><br></div><div style="position: relative;"><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b>                                                                                                                        "2639161967"                                                                                    <2639161967@qq.com>;</div><div><b>发送时间:</b> 2024年9月2日(星期一) 上午10:16</div><div><b>收件人:</b> "linux-distros"<linux-distros@vs.openwall.org>;<wbr></div><div></div><div><b>主题:</b> [vs] Bug report: Memory leak in opal_event_init</div></div><div><br></div><div class="qmbox"><div class="qmbox"><div class="qmbox"><div class="qmbox"><div class="qmbox"><div class="qmbox"><div style="  ; ; ; ; ; ; ; ; "><br></div><div style="font-size:10.5pt;background-color:rgb(255, 255, 255);margin-top:0px;margin-bottom:0px">hi, I find that in the newest linux release version, in <a href="https://elixir.bootlin.com/linux/v6.11-rc2/source/drivers/net/ethernet/intel/idpf/idpf_txrx.c" target="_blank" rel="noopener noreferrer" style="text-decoration:none;outline:none;color:rgb(74, 144, 226);cursor:pointer"></a><a class="project_qP1e_0" href="https://elixir.bootlin.com/linux/v6.11-rc6/source" target="_blank" rel="noopener noreferrer" style="text-decoration:none;outline:none;color:rgb(74, 144, 226);cursor:pointer">/</a><a href="https://elixir.bootlin.com/linux/v6.11-rc6/source/arch" target="_blank" rel="noopener noreferrer" style="text-decoration:none;outline:none;color:rgb(74, 144, 226);cursor:pointer">arch</a>/<a href="https://elixir.bootlin.com/linux/v6.11-rc6/source/arch/powerpc" target="_blank" rel="noopener noreferrer" style="text-decoration:none;outline:none;color:rgb(74, 144, 226);cursor:pointer">powerpc</a>/<a href="https://elixir.bootlin.com/linux/v6.11-rc6/source/arch/powerpc/platforms" target="_blank" rel="noopener noreferrer" style="text-decoration:none;outline:none;color:rgb(74, 144, 226);cursor:pointer">platforms</a>/<a href="https://elixir.bootlin.com/linux/v6.11-rc6/source/arch/powerpc/platforms/powernv" target="_blank" rel="noopener noreferrer" style="text-decoration:none;outline:none;color:rgb(74, 144, 226);cursor:pointer">powernv</a>/<a href="https://elixir.bootlin.com/linux/v6.11-rc6/source/arch/powerpc/platforms/powernv/opal-irqchip.c" target="_blank" rel="noopener noreferrer" style="text-decoration:none;outline:none;color:rgb(74, 144, 226);cursor:pointer">opal-irqchip.c</a> file , the </div><pre style="margin:0px;color:rgb(19, 24, 29);background-color:rgb(255, 255, 255)"><span class="n_Lq6B_1"><pre style="margin:0px"><span class="nf_Mhk8_2"><a class="ident_CbwC_3" href="https://elixir.bootlin.com/linux/v6.11-rc6/C/ident/opal_event_init" target="_blank" rel="noopener noreferrer" style="text-decoration:none;outline:none;color:rgb(74, 144, 226);cursor:pointer">opal_event_init</a></span> function, the variable "name"defined in line 270,<span> and is alloced memory in line 274 or 276, </span></pre><pre style="margin:0px"><span>but not free, cause many times memory leak, </span>and most old release versions have the problem.</pre></span></pre><pre><span class="n"></span></pre><p></p><div xmail-signature=""><xm-signature></xm-signature><p></p></div></div><div xmail-signature=""><xm-signature></xm-signature><p></p></div></div><div xmail-signature=""><xm-signature></xm-signature><p></p></div></div><div xmail-signature=""><xm-signature></xm-signature><p></p></div></div><div xmail-signature=""><xm-signature></xm-signature><p></p></div></div><div xmail-signature=""><xm-signature></xm-signature><p></p></div></div></div>