Re: [OpenWrt-Devel] [PATCH libubox] blob: make blob_parse_untrusted more permissive

2020-05-17 Thread Petr Štetiar
Matthias Schiffer [2020-05-16 23:13:50]: Hi, > Some tools like ucert use concatenations of multiple blobs. Account for > this case by allowing the underlying buffer length to be greater than > the blog length. in order to prevent future regression, could you please add a test case for this as w

[OpenWrt-Devel] [PATCH libubox] blob: make blob_parse_untrusted more permissive

2020-05-16 Thread Matthias Schiffer
Some tools like ucert use concatenations of multiple blobs. Account for this case by allowing the underlying buffer length to be greater than the blog length. Signed-off-by: Matthias Schiffer --- blob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blob.c b/blob.c index 528