<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ubus/tests, branch master</title>
<subtitle>OpenWrt system message/RPC bus</subtitle>
<id>https://git.openwrt.org/project/ubus/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/ubus/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/ubus/'/>
<updated>2025-11-14T08:55:05Z</updated>
<entry>
<title>github: ci: add tests</title>
<updated>2025-11-14T08:55:05Z</updated>
<author>
<name>Álvaro Fernández Rojas</name>
</author>
<published>2025-11-14T07:50:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/ubus/commit/?id=c4d7aff97bbe3af36af969564a02bf928932c4f8'/>
<id>urn:sha1:c4d7aff97bbe3af36af969564a02bf928932c4f8</id>
<content type='text'>
Build ubus with UNIT_TESTING and execute tests.

Signed-off-by: Álvaro Fernández Rojas &lt;noltari@gmail.com&gt;
</content>
</entry>
<entry>
<title>libubus: Make UBUS_* macros work cleanly in C++</title>
<updated>2024-06-11T03:58:15Z</updated>
<author>
<name>Karsten Sperling</name>
</author>
<published>2024-06-11T03:58:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/ubus/commit/?id=252a9b0c1774790fb9c25735d5a09c27dba895db'/>
<id>urn:sha1:252a9b0c1774790fb9c25735d5a09c27dba895db</id>
<content type='text'>
C++ is picky about initializer order, and (depending on flags) missing fields.
This fix makes UBUS_METHOD_* and UBUS_OBJECT_TYPE initialize all fields of the
respective structs in the correct order.

Also replace BIT(x) with an explicit expression since BIT() may not be defined.

Signed-off-by: Karsten Sperling &lt;ksperling@apple.com&gt;
</content>
</entry>
<entry>
<title>tests: cram: fix usage test</title>
<updated>2020-08-05T08:27:24Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2020-08-05T08:27:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/ubus/commit/?id=13efd05c1bb611a3b30f53858fcd3a13589e08be'/>
<id>urn:sha1:13efd05c1bb611a3b30f53858fcd3a13589e08be</id>
<content type='text'>
Add new subscribe command help.

Fixes: 59835ae530f5 ("cli: document usage of "subscribe" command")
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>fix blob parsing vulnerability by using blob_parse_untrusted</title>
<updated>2019-12-19T18:53:25Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2019-12-19T10:25:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/ubus/commit/?id=a1523d76b016ed46501f61e38ad38999d6c66f52'/>
<id>urn:sha1:a1523d76b016ed46501f61e38ad38999d6c66f52</id>
<content type='text'>
blob_parse expects blobs from trusted inputs, but it can be supplied
with possibly malicious blobs from untrusted inputs as well, which might
lead to undefined behaviour and/or crash of ubus daemon. In order to
prevent such conditions, switch to blob_parse_untrusted which should
hopefully handle such untrusted inputs appropriately.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>add fuzzer and cram based unit tests</title>
<updated>2019-12-16T22:39:16Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2019-12-12T22:24:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/ubus/commit/?id=08f17c87a000cc74551e1539d1916c7bfd84ae68'/>
<id>urn:sha1:08f17c87a000cc74551e1539d1916c7bfd84ae68</id>
<content type='text'>
For improved QA etc.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
</feed>
