audk/NetworkPkg/Ip6Dxe
Michael Kubacki 1c76101134 NetworkPkg/Ip6Dxe: Validate source data record length
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2273

Ip6ConfigReadConfigData() reads configuration data from a UEFI variable
and copies the data to another buffer. This change checks that the
length
of the data record being copied does not exceed the size of the source
UEFI variable data buffer.

If the size is exceeded, this change follows existing logic to treat the
variable as corrupted and deletes the variable so it will be set again.

Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Siyuan Fu <siyuan.fu@intel.com>
Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com>
2020-04-17 17:34:33 +00:00
..
ComponentName.c NetworkPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:15 -07:00
Ip6Common.c NetworkPkg/Ip6Dxe: Fix various typos 2020-02-10 22:30:07 +00:00
Ip6Common.h NetworkPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:15 -07:00
Ip6Config.vfr NetworkPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:15 -07:00
Ip6ConfigImpl.c NetworkPkg/Ip6Dxe: Validate source data record length 2020-04-17 17:34:33 +00:00
Ip6ConfigImpl.h NetworkPkg/Ip6Dxe: Fix various typos 2020-02-10 22:30:07 +00:00
Ip6ConfigNv.c NetworkPkg/Ip6Dxe: Fix various typos 2020-02-10 22:30:07 +00:00
Ip6ConfigNv.h NetworkPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:15 -07:00
Ip6Driver.c NetworkPkg/Ip6Dxe: Fix various typos 2020-02-10 22:30:07 +00:00
Ip6Driver.h NetworkPkg/Ip6Dxe: Fix various typos 2020-02-10 22:30:07 +00:00
Ip6Dxe.inf NetworkPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:15 -07:00
Ip6Dxe.uni NetworkPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:15 -07:00
Ip6DxeExtra.uni NetworkPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:15 -07:00
Ip6DxeStrings.uni NetworkPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:15 -07:00
Ip6Icmp.c NetworkPkg/Ip6Dxe: Fix various typos 2020-02-10 22:30:07 +00:00
Ip6Icmp.h NetworkPkg: Fix a typo 2020-02-10 22:30:07 +00:00
Ip6If.c NetworkPkg/Ip6Dxe: Fix various typos 2020-02-10 22:30:07 +00:00
Ip6If.h NetworkPkg/Ip6Dxe: Fix various typos 2020-02-10 22:30:07 +00:00
Ip6Impl.c NetworkPkg/Ip6Dxe: Fix various typos 2020-02-10 22:30:07 +00:00
Ip6Impl.h NetworkPkg/Ip6Dxe: Fix various typos 2020-02-10 22:30:07 +00:00
Ip6Input.c NetworkPkg/Ip6Dxe: Fix various typos 2020-02-10 22:30:07 +00:00
Ip6Input.h NetworkPkg/Ip6Dxe: Fix various typos 2020-02-10 22:30:07 +00:00
Ip6Mld.c NetworkPkg/Ip6Dxe: Fix various typos 2020-02-10 22:30:07 +00:00
Ip6Mld.h NetworkPkg/Ip6Dxe: Fix various typos 2020-02-10 22:30:07 +00:00
Ip6Nd.c NetworkPkg/Ip6Dxe: Fix ASSERT logic in Ip6ProcessRouterAdvertise() 2020-04-02 09:27:44 +00:00
Ip6Nd.h NetworkPkg/Ip6Dxe: Improve Neightbor Discovery message validation. 2020-03-30 13:13:29 +00:00
Ip6NvData.h NetworkPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:15 -07:00
Ip6Option.c NetworkPkg/Ip6Dxe: Improve Neightbor Discovery message validation. 2020-03-30 13:13:29 +00:00
Ip6Option.h NetworkPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:15 -07:00
Ip6Output.c NetworkPkg/Ip6Dxe: Fix various typos 2020-02-10 22:30:07 +00:00
Ip6Output.h NetworkPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:15 -07:00
Ip6Route.c NetworkPkg/Ip6Dxe: Fix various typos 2020-02-10 22:30:07 +00:00
Ip6Route.h NetworkPkg/Ip6Dxe: Fix various typos 2020-02-10 22:30:07 +00:00