Changeset 1068:cd86a0f4adab in roaraudio for libroar/simple.c


Ignore:
Timestamp:
12/28/08 02:40:49 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

make OpenBSD security warnings patch a bit happyer...: strcpy() -> strncpy()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/simple.c

    r1067 r1068  
    130130  } 
    131131 } else { 
    132   strcpy(file, inet_ntoa(socket_addr.sin_addr)); 
     132  strncpy(file, inet_ntoa(socket_addr.sin_addr), 79); 
    133133 } 
    134134 
Note: See TracChangeset for help on using the changeset viewer.