[OpenWrt-Devel] [PATCH 2/3] Replace use of blobmsg_check_attr by blobmsg_check_attr_safe

Tobias Schramm tobleminer at gmail.com
Fri Nov 23 01:40:28 EST 2018


Hey,

sorry for top posting. Using the Gmail App for Mailinglist posts might
not be the best of ideas.

In my code I'm trying to set a precedent for how the attribute
checking methods should be used.
My gerneral idea was to code that part defensively. Thus I call the
_safe variants in my code.
You are of course right, "_safe" can mean a lot of things. Thus I
added a doc comment to all attribute checking methods in v2 of this
patch set.

Regards

Tobias

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list