libredirect: allow null paths

+1
+1
pkgs/build-support/libredirect/libredirect.c
··· 47 47 48 48 static const char * rewrite(const char * path, char * buf) 49 49 { 50 + if (path == NULL) return path; 50 51 for (int n = 0; n < nrRedirects; ++n) { 51 52 int len = strlen(from[n]); 52 53 if (strncmp(path, from[n], len) != 0) continue;