NetBSD Problem Report #54917
From www@netbsd.org Sun Feb 2 05:09:00 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 8C2E37A1E3
for <gnats-bugs@gnats.NetBSD.org>; Sun, 2 Feb 2020 05:09:00 +0000 (UTC)
Message-Id: <20200202050859.A40187A1E4@mollari.NetBSD.org>
Date: Sun, 2 Feb 2020 05:08:59 +0000 (UTC)
From: isaki@pastel-flower.jp
Reply-To: isaki@pastel-flower.jp
To: gnats-bugs@NetBSD.org
Subject: pad(4) has a memory leak
X-Send-Pr-Version: www-1.0
>Number: 54917
>Category: kern
>Synopsis: pad(4) has a memory leak
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 02 05:10:00 +0000 2020
>Originator: Tetsuya Isaki
>Release: NetBSD-current(20191128)
>Organization:
>Environment:
>Description:
Since pad(4) supports cloning in 8.99.1,
cdev_pad_open() allocates cfdata_t for cloning, but no one
deallocates it.
>How-To-Repeat:
N/A
(found by source code review)
>Fix:
N/A
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.