]> git.dujemihanovic.xyz Git - u-boot.git/commit
bloblist: Correct condition in bloblist_addrec()
authorSimon Glass <sjg@chromium.org>
Mon, 5 Jul 2021 22:32:55 +0000 (16:32 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Jul 2021 16:27:34 +0000 (10:27 -0600)
commit1f618d528e234d2b7b0047750284dd531f5d718f
tree7c07e13de91bfa3e6d6d418f5dda739ef401e1b3
parentfaff554292824037c4f098020ddbc8d979900415
bloblist: Correct condition in bloblist_addrec()

It is possible to add a blob that ends at the end of the bloblist, but at
present this is not supported. Fix it and add a regression test for this
case.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/bloblist.c
test/bloblist.c