Yousong Zhou <[email protected]> [2019-11-20 22:01:22]: > By the way, will assert(node-parent != NULL) suffice to inform the > analyzer the underlying details? If it does, we could also apply it > to b64_encode(), b64_decode().
BTW in libnl-tiny I've learned, that using assert() in CMake release builds needs fiddling with C flags as CMake adds -DNDEBUG to release build C flags which in turn disable assert(). Anyway, I agree, that crashing with invalid inputs is the proper way, so I've reworked it with assert() as it works for analyzer as well. -- ynezz _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
