avserver.c:1518: error: Buffer Overrun L3
  Offset: [-1, +oo] Size: 1024.

avserver.c:1453:1: <Offset trace>
1451. 
1452. /* parse http request and prepare header */
1453. static int http_parse_request(HTTPContext *c)
      ^
1454. {
1455.     char *p;

avserver.c:1453:1: Array declaration
1451. 
1452. /* parse http request and prepare header */
1453. static int http_parse_request(HTTPContext *c)
      ^
1454. {
1455.     char *p;

avserver.c:1499:5: Call
1497.         info[0] = '\0';
1498. 
1499.     av_strlcpy(filename, url + ((*url == '/') ? 1 : 0), sizeof(filename)-1);
          ^
1500. 
1501.     for (p = c->buffer; *p && *p != '\r' && *p != '\n'; ) {

libavutil/avstring.c:64:1: Parameter `*dst`
  62. }
  63. 
  64. size_t av_strlcpy(char *dst, const char *src, size_t size)
      ^
  65. {
  66.     size_t len = 0;

avserver.c:1453:1: <Length trace>
1451. 
1452. /* parse http request and prepare header */
1453. static int http_parse_request(HTTPContext *c)
      ^
1454. {
1455.     char *p;

avserver.c:1453:1: Array declaration
1451. 
1452. /* parse http request and prepare header */
1453. static int http_parse_request(HTTPContext *c)
      ^
1454. {
1455.     char *p;

avserver.c:1518:9: Array access: Offset: [-1, +oo] Size: 1024
1516.     if (av_match_ext(filename, "asx")) {
1517.         redir_type = REDIR_ASX;
1518.         filename[strlen(filename)-1] = 'f';
              ^
1519.     } else if (av_match_ext(filename, "asf") &&
1520.         (!useragent || av_strncasecmp(useragent, "NSPlayer", 8) != 0)) {
