Hi,
not a kernel issue, but

----------------------- libexec/httpd/lua-bozo.c -----------------------

321             asprintf(&file, "/%s", uri);
        }
        if (file == NULL) {
                free(prefix);
                return 0;
        }

        if (request->hr_query && strlen(request->hr_query))
                query = bozostrdup(httpd, request->hr_query);
        else
                query = NULL;

        p = strchr(prefix, '/');
        if (p == NULL){
                free(prefix);
                return 0;
        }

------------------------------------------------------------------------

'file' and 'query' are leaked.

Found by Brainy.

Maxime

Reply via email to