]> git.proxmox.com Git - mirror_edk2.git/commit - NetworkPkg/HttpBootDxe/HttpBootClient.c
NetworkPkg: Make HttpBootGetBootFile return EFI_BUFFER_TOO_SMALL
authorGary Lin <glin@suse.com>
Mon, 9 May 2016 04:32:55 +0000 (12:32 +0800)
committerFu Siyuan <siyuan.fu@intel.com>
Fri, 13 May 2016 02:09:21 +0000 (10:09 +0800)
commita93786ae6c4f8a92e216899c05366ba7aacf72e7
treee2adec64495b989ff4fbd20a717141dd6c99c7f3
parent09991304c94a42fa1184e1a4c34da5e5cfd8f9be
NetworkPkg: Make HttpBootGetBootFile return EFI_BUFFER_TOO_SMALL

Per the description of HttpBootGetBootFile, the function should return
EFI_BUFFER_TOO_SMALL if the given buffer is smaller than the remote image.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
NetworkPkg/HttpBootDxe/HttpBootClient.c