Minor bug in usr.sbin/httpd/src/main/http_protocol.c

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Minor bug in usr.sbin/httpd/src/main/http_protocol.c

Alexander Farber
The filename is declared to be const in the function

    int ap_create_etag_state(pool *pconf)
    {
    .....
        const char* filename;

But right after that it's being stripped by

        ap_server_strip_chroot(filename, 0);

Regards
Alex