Changeset 5889:d866fb1213d6 in roaraudio


Ignore:
Timestamp:
02/02/13 13:52:15 (6 years ago)
Author:
phi
Branch:
default
Message:

avoid segfault in rpld by testing our args for validity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/keyval.c

    r5823 r5889  
    175175 struct roar_keyval * c; 
    176176 
     177 if ( copy == NULL || src == NULL ) { 
     178  roar_err_set(ROAR_ERROR_FAULT); 
     179  return NULL; 
     180 } 
     181 
    177182 // TODO: optimize this. 
    178183 if ( len == -1 ) { 
Note: See TracChangeset for help on using the changeset viewer.