Hi, Guys Since I cannot find other places to send this patch, so I send it here, and hope it does not bother you. "alloc_msg_buf" function in "ubus/libubus-io.c" has the feature that expand or shrink msg buffer when necessary. But I have noticed that "msgbuf_data_len" has been properly set after msg buffer is expanded, and it still stays with its origin value. I have generated one patch for this bug. Feel free to talk with me, just in case I am wrong.
ubus repo on lede: https://git.lede-project.org/?p=project/ubus.git;a=summary Rujun
0001-Fix-the-length-of-msg-buffer-after-realloc.patch
Description: Binary data
_______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev