diff options
author | Zhang, Chao B <chao.b.zhang@intel.com> | 2016-07-01 10:32:27 +0800 |
---|---|---|
committer | Zhang, Chao B <chao.b.zhang@intel.com> | 2016-07-01 10:33:47 +0800 |
commit | e1f3583409e7fa5041be829440f0139b1a70c3c4 (patch) | |
tree | 8174b4dfdcdba102a139ad4dea060dfb895b5ecf /MdeModulePkg | |
parent | 1d9869f9e91605f6c099237eeb3414887f1258a9 (diff) | |
download | edk2-platforms-e1f3583409e7fa5041be829440f0139b1a70c3c4.tar.xz |
SecurityPkg/Tcg: Fix bug that prevented SubmitCommand buffers from being Max size
SubmitCommand() was checking the buffer size for ">=" Max size. This would
cause code to fail with "EFI_INVALID_PARAMETER" if a buffer was passed
that was the "max" size as indicated by the GetCapability() command.
Change to ">" to allow for maximum buffer size.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bret Barkelew <brbarkel@microsoft.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
Diffstat (limited to 'MdeModulePkg')
0 files changed, 0 insertions, 0 deletions