Changeset a5673ea1accbe252b17b11c1d7005987a0ca75a1

Show
Ignore:
Timestamp:
03/01/07 15:36:26 (2 years ago)
Author:
Damien Fouilleul <damienf@videolan.org>
git-committer:
Damien Fouilleul <damienf@videolan.org> 1167834986 +0000
git-parent:

[04c252378c0468fb0ff9eec497b48e6a5497666b]

git-author:
Damien Fouilleul <damienf@videolan.org> 1167834986 +0000
Message:

audioscrobbler.c: fix for format string exploit

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/misc/audioscrobbler.c

    rc2ec30b ra5673ea  
    439439            { 
    440440                /* woops, submission failed */ 
    441                 msg_Dbg( p_this, p_buffer_pos ); 
     441                msg_Dbg( p_this, "%s", p_buffer_pos ); 
    442442                vlc_mutex_unlock ( &p_sys->lock ); 
    443443                continue; 
     
    817817    { 
    818818        /* handshake request failed, sorry */ 
    819         msg_Dbg( p_this, p_buffer_pos ); 
     819        msg_Dbg( p_this, "%s", p_buffer_pos ); 
    820820        PROTOCOL_ERROR 
    821821    } 
     
    836836        /* protocol has been updated, time to update the code */ 
    837837        msg_Dbg( p_intf, "Protocol updated : plugin may be outdated" ); 
    838         msg_Dbg( p_intf, p_buffer_pos ); 
     838        msg_Dbg( p_intf, "%s", p_buffer_pos ); 
    839839    } 
    840840