Re: [OpenWrt-Devel] [PATCH v2 3/3] Add _safe variants for all attribute checking methods

2018-11-27 Thread Tobias Schramm
Hi, thanks for the feedback. I've sent a v3 that should implement all improvements you have pointed out. Regards, Tobias ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH v2 3/3] Add _safe variants for all attribute checking methods

2018-11-27 Thread Felix Fietkau
On 2018-11-23 07:27, Tobias Schramm wrote: > Signed-off-by: Tobias Schramm > --- > blobmsg.c | 15 --- > blobmsg.h | 40 > 2 files changed, 52 insertions(+), 3 deletions(-) > > diff --git a/blobmsg.c b/blobmsg.c > index dd4b506..97a9a0b 100644

[OpenWrt-Devel] [PATCH v2 3/3] Add _safe variants for all attribute checking methods

2018-11-22 Thread Tobias Schramm
Signed-off-by: Tobias Schramm --- blobmsg.c | 15 --- blobmsg.h | 40 2 files changed, 52 insertions(+), 3 deletions(-) diff --git a/blobmsg.c b/blobmsg.c index dd4b506..97a9a0b 100644 --- a/blobmsg.c +++ b/blobmsg.c @@ -81,10 +81,14 @@ bool b