Changeset 5145:c1a3ca765154 in roaraudio for libroar/beep.c


Ignore:
Timestamp:
10/11/11 13:47:59 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:
  • Fixed invalid pointer aliasing in filter code (pr0)
  • Fixed remote a local buffer overflow in client to message converter code as well as a remote attackable overflow in message to client converter code (pr0)
  • Updated error handling (pr0)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/beep.c

    r4708 r5145  
    4040 int16_t * data = (int16_t*)m.data; 
    4141 
    42  if ( con == NULL ) 
     42 if ( con == NULL ) { 
     43  roar_err_set(ROAR_ERROR_FAULT); 
    4344  return -1; 
     45 } 
    4446 
    4547 memset(&m, 0, sizeof(m)); 
Note: See TracChangeset for help on using the changeset viewer.