]> git.proxmox.com Git - mirror_edk2.git/commit - ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c
ShellPkg: Prevent StrnCpy from overwriting null terminator when source is larger...
authorScott Duplichan <scott@notabs.org>
Tue, 2 Sep 2014 19:50:09 +0000 (19:50 +0000)
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 2 Sep 2014 19:50:09 +0000 (19:50 +0000)
commita3d236df1441f07d727e3aa98f865d4695e0a9f4
treef9b22946a34ca889d16fb048d346e9b1f0f48190
parent8edfdee0dc05e5dfc343fca5fffe334d0b359020
ShellPkg: Prevent StrnCpy from overwriting null terminator when source is larger than destination.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16035 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c