Changeset 5019:86da2c425dd0 in roaraudio


Ignore:
Timestamp:
05/26/11 13:56:59 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed a int overflow in length test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/notify.c

    r4973 r5019  
    356356  // this is not a real maximum but a value good to detect all kinds of errors. 
    357357  // a notify event should not be longer anyway. 
    358   if ( event->arg2_len > 32768 ) 
     358  if ( event->arg2_len > 32767 ) 
    359359   return -1; 
    360360 
Note: See TracChangeset for help on using the changeset viewer.