summaryrefslogtreecommitdiff
path: root/src/mainboard/google/butterfly
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2017-03-06 16:33:57 -0600
committerAaron Durbin <adurbin@chromium.org>2017-03-09 19:14:25 +0100
commit06f12f919f4b7acde88392fd9dce461701ef994e (patch)
treea76ce626470a7a361be4b295fa05a432c9279756 /src/mainboard/google/butterfly
parent3487e118d1ac0d6c0e7a0a251f3d5cfa401a38de (diff)
downloadcoreboot-06f12f919f4b7acde88392fd9dce461701ef994e.tar.xz
lib/tpm2_marshaling: fix in correct buffer space semantics
marshal_blob() was setting an unsigned size (size_t) to a value of -1 when an error is determined. This is wrong for the current implementation of the code because the code assumes the buffer space gets set to 0. Setting an unsigned value to -1 effectively tells the library the buffer has unlimited amount of space. BUG=b:35775104 Change-Id: I677a1fd7528bef3ea7420d0a8d0a290e9b15cea3 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/18678 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/google/butterfly')
0 files changed, 0 insertions, 0 deletions