archive mirror
 help / color / mirror / Atom feed
From: Ryan Cai <>
To: <>, <>
Cc: <>, <>,
Subject: [Resource Leak] Missing closing files in tools/bpf/bpf_asm.c
Date: Thu, 30 Dec 2021 11:50:34 +0800	[thread overview]
Message-ID: <> (raw)

Dear Kernel maintainers,

          1. In ksm_read_sysfs, the file opened at Line 74 may not closed when going to Line 83.

         2. In ksm_write_sysfs, the file opened at Line 56 may not closed when going to Line 64.

           Should they be bugs? I can send a patch for these.


                 reply	other threads:[~2021-12-30  3:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).