[LEDE-DEV] [UBUS] [PATCH] Issue of msgbuf_data_len in ubus_context

Wang Linetkux chinawrj at gmail.com
Sat Jun 18 21:16:16 PDT 2016


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-the-length-of-msg-buffer-after-realloc.patch
Type: application/octet-stream
Size: 608 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20160619/7d3aa807/attachment.obj>


More information about the Lede-dev mailing list