On Thu, Jan 29, 2015 at 11:42:36AM +0900, Masahiro Yamada wrote: > If the argument, name is given with NULL, it would be probably > unexpected behavior. It should fail rather than register the > NULL-named parameter. > > If strdup() fails with out-of-memory, it should also fail > with -ENOMEM. Applied, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox