All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lidong Chen <lidong.chen@oracle.com>
To: grub-devel@gnu.org
Cc: daniel.kiper@oracle.com, lidong.chen@oracle.com
Subject: [PATCH 0/4] Prevent out-of-bound reads
Date: Thu, 20 Apr 2023 17:59:35 +0000	[thread overview]
Message-ID: <cover.1682012254.git.lidong.chen@oracle.com> (raw)

This set of patches adds checks to ensure the node
size is valid before accessing it. In addition, error
messages are marked for translation.

Lidong Chen (4):
  fs/hfsplus: Validate btree node size
  fs/hfsplus: Prevent out of bound access in catalog file
  fs/hfsplus: Set grub errno to prevent NULL pointer access
  fs/hfsplus: Mark error strings for translation

 grub-core/fs/hfsplus.c | 49 +++++++++++++++++++++++++++++++-----------
 1 file changed, 36 insertions(+), 13 deletions(-)

-- 
2.39.1



             reply	other threads:[~2023-04-20 17:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-20 17:59 Lidong Chen [this message]
2023-04-20 17:59 ` [PATCH 1/4] fs/hfsplus: Validate btree node size Lidong Chen
2023-04-20 22:08   ` Vladimir 'phcoder' Serbinenko
2023-04-20 17:59 ` [PATCH 2/4] fs/hfsplus: Prevent out of bound access in catalog file Lidong Chen
2023-04-20 22:09   ` Vladimir 'phcoder' Serbinenko
2023-04-24 20:48   ` Lidong Chen
2023-04-20 17:59 ` [PATCH 3/4] fs/hfsplus: Set grub errno to prevent NULL pointer access Lidong Chen
2023-04-20 22:07   ` Vladimir 'phcoder' Serbinenko
2023-04-25  5:06     ` Lidong Chen
2023-04-20 17:59 ` [PATCH 4/4] fs/hfsplus: Mark error strings for translation Lidong Chen
2023-04-20 22:03   ` Vladimir 'phcoder' Serbinenko
2023-04-21 13:10     ` Daniel Kiper
2023-04-21 18:14       ` Lidong Chen

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=cover.1682012254.git.lidong.chen@oracle.com \
    --to=lidong.chen@oracle.com \
    --cc=daniel.kiper@oracle.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.