Changeset 5028:bda7085a07b8 in roaraudio for libroar/vio_tantalos.c


Ignore:
Timestamp:
05/28/11 11:46:46 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed some ckport warnings about poissible buffer overflows which are not possible because buffer length is ensured before the call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio_tantalos.c

    r4708 r5028  
    8787 for (i = 0; i < cookie->matchcount; i++) { 
    8888  strncpy(url, cookie->match[i].url + ROAR_SLP_URL_TYPE_DOWNLOAD_HTTP_LEN - 4, _LEN); 
    89   strcat(url, "?key="); 
    90   strcat(url, key); 
     89  roar_mm_strscat(url, "?key="); 
     90  roar_mm_strscat(url, key); 
    9191 
    9292  ROAR_DBG("roar_vio_open_tantalos(*): url='%s'", url); 
Note: See TracChangeset for help on using the changeset viewer.