libsa: Fix a bug in nvlist creation
Patch picked from FreeBSD:
When adding an entry to an nvlist, the data buffer might need to be resized. When this happens, the XDR encoder's notion of the buffer size also needs to be updated, otherwise the operation may erroneously fail.
Testing done: build/install/boot.
Updated by Electric Monk 3 months ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 43075873f664db76209f1fdf87cb3961a113bfaf Author: Mark Johnston <markj@FreeBSD.org> Date: 2022-05-27T19:51:15.000Z 14715 libsa: Fix a bug in nvlist creation Reviewed by: Toomas Soome <email@example.com> Reviewed by: Andrew Stormont <firstname.lastname@example.org> Reviewed by: Yuri Pankov <email@example.com> Reviewed by: Gordon Ross <Gordon.W.Ross@gmail.com> Reviewed by: Andy Fiddaman <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>