Changeset 7dfd1a1d1e0b512ec83466c1e85e36cba308037b

Show
Ignore:
Timestamp:
12/23/07 18:42:57 (9 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1198431777 +0000
git-parent:

[ad407ff30380e98896cefc46882452e28aef10dc]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1198431777 +0000
Message:

Fix format string injection in the Connection field for HTTP-served files
(affects HTTP interface and LUA plus HTTP export for DVB and RTP)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/network/httpd.c

    r949dac1 r7dfd1a1  
    438438    if( psz_connection != NULL ) 
    439439    { 
    440         httpd_MsgAdd( answer, "Connection", psz_connection ); 
     440        httpd_MsgAdd( answer, "Connection", "%s", psz_connection ); 
    441441    } 
    442442