[OpenWrt-Devel] [PATCH procd 3/4] system: sysupgrade: rework firmware validation

Petr Štetiar ynezz at true.cz
Sun Jan 5 06:37:44 EST 2020


Hauke Mehrtens <hauke at hauke-m.de> [2020-01-04 20:41:44]:

> > +	vjson_error(err, "unhandled error");
>
> In which case is this returned, aren't there specific error handlers in
> call cases now and vjson_parse() would overwrite it again?

It should be returned in unhandled cases, in case I've missed to handle
something or the code would behave in a way I didn't anticipated.

-- ynezz

_______________________________________________
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