public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Fu Siyuan <siyuan.fu@intel.com>
To: edk2-devel@lists.01.org
Subject: [Patch 0/2] Check-for-the-max-DHCP-packet-length
Date: Wed, 16 Nov 2016 13:38:41 +0800	[thread overview]
Message-ID: <1479274723-9468-1-git-send-email-siyuan.fu@intel.com> (raw)

Updates the PXE and HTTP boot driver to drop the input DHCP packet
if it exceed the maximum length.

Fu Siyuan (2):
  MdeModulePkg: Check for the max DHCP packet length before use it.
  NetworkPkg: Check for the max DHCP packet length before use it.

 .../Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c     | 23 +++++++++++++++
 .../Universal/Network/UefiPxeBcDxe/PxeBcDhcp.h     |  2 +-
 NetworkPkg/HttpBootDxe/HttpBootDhcp4.h             |  4 ++-
 NetworkPkg/HttpBootDxe/HttpBootDhcp6.c             |  6 ++++
 NetworkPkg/HttpBootDxe/HttpBootDhcp6.h             |  4 ++-
 NetworkPkg/HttpBootDxe/HttpBootImpl.c              |  4 +--
 NetworkPkg/UefiPxeBcDxe/PxeBcDhcp4.c               | 34 ++++++++++++++++++++--
 NetworkPkg/UefiPxeBcDxe/PxeBcDhcp4.h               |  6 ++--
 NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.c               | 29 ++++++++++++++++++
 NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.h               |  6 ++--
 NetworkPkg/UefiPxeBcDxe/PxeBcImpl.c                | 16 +++++-----
 11 files changed, 115 insertions(+), 19 deletions(-)

-- 
2.7.4.windows.1



             reply	other threads:[~2016-11-16  5:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-16  5:38 Fu Siyuan [this message]
2016-11-16  5:38 ` [Patch 1/2] MdeModulePkg: Check for the max DHCP packet length before use it Fu Siyuan
2016-11-16  5:38 ` [Patch 2/2] NetworkPkg: " Fu Siyuan
2016-11-18  8:10 ` [Patch 0/2] Check-for-the-max-DHCP-packet-length Wu, Jiaxin

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-list 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=1479274723-9468-1-git-send-email-siyuan.fu@intel.com \
    --to=devel@edk2.groups.io \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox