projects
/
oweals
/
libubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
blobmsg: drop old comment about json formatting functions
[oweals/libubox.git]
/
blob.c
diff --git
a/blob.c
b/blob.c
index 528e717615d6313285e3c28c56c9a60a0d7821b1..433becb904f54d4e0b3fb186756f62c71beb0ba5 100644
(file)
--- a/
blob.c
+++ b/
blob.c
@@
-277,7
+277,7
@@
blob_parse_untrusted(struct blob_attr *attr, size_t attr_len, struct blob_attr *
return 0;
len = blob_raw_len(attr);
- if (
len != attr_
len)
+ if (
attr_len <
len)
return 0;
memset(data, 0, sizeof(struct blob_attr *) * max);