Ignore:
Timestamp:
Aug 5, 2010 10:41:48 AM (12 years ago)
Author:
nanang
Message:

Re #1072: fixed buffer overflow bugs introduced by r3202.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-codec/g722.c

    r3202 r3250  
    589589 
    590590        p = (pj_int16_t*)input->buf; 
    591         end = p + input->size; 
     591        end = p + input->size/2; 
    592592        while (p < end) { 
    593593            *p++ >>= g722_data->pcm_shift; 
Note: See TracChangeset for help on using the changeset viewer.