ffserver.c:1246: error: Buffer Overrun L3
  Offset: [-1, +oo] (⇐ [-2, +oo] + 1) Size: 1024.

ffserver.c:1174:1: <Length trace>
1172. 
1173. /* parse http request and prepare header */
1174. static int http_parse_request(HTTPContext *c)
      ^
1175. {
1176.     char *p;

ffserver.c:1174:1: Array declaration
1172. 
1173. /* parse http request and prepare header */
1174. static int http_parse_request(HTTPContext *c)
      ^
1175. {
1176.     char *p;

ffserver.c:1246:9: Array access: Offset: [-1, +oo] (⇐ [-2, +oo] + 1) Size: 1024
1244.     } else if (match_ext(filename, "rpm,ram")) {
1245.         redir_type = REDIR_RAM;
1246.         strcpy(filename + strlen(filename)-2, "m");
              ^
1247.     } else if (match_ext(filename, "rtsp")) {
1248.         redir_type = REDIR_RTSP;
