libubus: fix ubus_invoke() to return err in case ubus_start_request() fails
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Fri, 27 Jun 2014 16:11:44 +0000 (19:11 +0300)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 3 Jul 2014 10:46:44 +0000 (12:46 +0200)
commitf47005a44ca63fd882ce24b16ebfba39f81f0ba7
treed0f198020eb7d256fd608e1738bc624f2e9fdb68
parent996e16b2cb79ae3e46742285ee2728f3a166b42a
libubus: fix ubus_invoke() to return err in case ubus_start_request() fails

Seems the UBUS_MAX_MSGLEN is ignored by ubus_invoke(),
and then segfault happens.

This issue is present before this set of patches.
libubus-req.c