We assume it to be non NULL in other places, so we are in much greater trouble if it actually is. Signed-off-by: Lucas Stach <dev@xxxxxxxxxx> --- lib/libbb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libbb.c b/lib/libbb.c index 189a170..dd42e66 100644 --- a/lib/libbb.c +++ b/lib/libbb.c @@ -43,7 +43,7 @@ EXPORT_SYMBOL(concat_path_file); char *concat_subpath_file(const char *path, const char *f) { - if (f && DOT_OR_DOTDOT(f)) + if (DOT_OR_DOTDOT(f)) return NULL; return concat_path_file(path, f); } -- 1.8.5.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox