<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libubox/tests/test-blob-parse.c, branch master</title>
<subtitle>C utility functions for OpenWrt</subtitle>
<id>https://git-03.infra.openwrt.org/project/libubox/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/libubox/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/libubox/'/>
<updated>2020-01-20T15:54:10Z</updated>
<entry>
<title>tests: prefer dynamically allocated buffers</title>
<updated>2020-01-20T15:54:10Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2020-01-18T17:32:55Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/libubox/commit/?id=5c0faaf4f5e26180dcc31b7e8558d57426d84085'/>
<id>urn:sha1:5c0faaf4f5e26180dcc31b7e8558d57426d84085</id>
<content type='text'>
Help detecting Valgrind OOB reads and other issues.

 Conditional jump or move depends on uninitialised value(s)
   at 0x5452886: blobmsg_parse (blobmsg.c:203)
   by 0x400A8E: test_blobmsg (tests/test-blobmsg-parse.c:66)
   by 0x400A8E: main (tests/test-blobmsg-parse.c:82)

 Conditional jump or move depends on uninitialised value(s)
   at 0x545247F: blobmsg_check_name (blobmsg.c:39)
   by 0x545247F: blobmsg_check_attr_len (blobmsg.c:79)
   by 0x5452710: blobmsg_parse_array (blobmsg.c:159)
   by 0x400AB8: test_blobmsg (tests/test-blobmsg-parse.c:69)
   by 0x400AB8: main (tests/test-blobmsg-parse.c:82)

 Conditional jump or move depends on uninitialised value(s)
   at 0x54524A0: blobmsg_check_name (blobmsg.c:42)
   by 0x54524A0: blobmsg_check_attr_len (blobmsg.c:79)
   by 0x5452710: blobmsg_parse_array (blobmsg.c:159)
   by 0x400AB8: test_blobmsg (tests/test-blobmsg-parse.c:69)
   by 0x400AB8: main (tests/test-blobmsg-parse.c:82)

Ref: http://lists.infradead.org/pipermail/openwrt-devel/2020-January/021204.html
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>tests: use blob_parse_untrusted variant</title>
<updated>2019-12-25T09:31:58Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2019-12-09T13:47:40Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/libubox/commit/?id=325418a7a3c0e22cfbd6726693d780c1afd9d9c6'/>
<id>urn:sha1:325418a7a3c0e22cfbd6726693d780c1afd9d9c6</id>
<content type='text'>
In order to be able to use invalid input for testing as well.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>tests: add test cases for blob parsing</title>
<updated>2019-12-25T09:31:58Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2019-12-09T12:28:25Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/libubox/commit/?id=09ee90f8d6ed1ff997a555aae8ee44ac3e20b317'/>
<id>urn:sha1:09ee90f8d6ed1ff997a555aae8ee44ac3e20b317</id>
<content type='text'>
Increasing test coverage.

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