]> git.proxmox.com Git - mirror_edk2.git/commit
Allocate exact memory size for string buffer to avoid buffer overflow.
authorQiu Shumin <shumin.qiu@intel.com>
Thu, 21 Aug 2014 05:35:25 +0000 (05:35 +0000)
committershenshushi <shenshushi@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 21 Aug 2014 05:35:25 +0000 (05:35 +0000)
commit231ea883ed13a43157e2ceca5869d02d5d727526
tree8a729150c78ccc2a966892ed3f4834c15874d3da
parentacbd7f9f1738561520c3ee78d683e0164ecf5764
Allocate exact memory size for string buffer to avoid buffer overflow.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Ni Ruiyu <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15863 6f19259b-4bc3-4df7-8a09-765794883524
IntelFrameworkModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c