mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
44a04733d4
We don't want to get a NULL pointer after iob_pack on an IOB chain with several iobs with length 0, it should return one IOB with length 0. Otherwise each place calls iob_pack needs to check the result. Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>