Changeset 1006


Ignore:
Timestamp:
Feb 26, 2007 10:48:12 PM (12 years ago)
Author:
bennylp
Message:

Fixed ticket #138: Potential memory overwrite in pjmedia session.c (thanks David Clark)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/session.c

    r974 r1006  
    518518    /* Copy stream info (this simple memcpy may break sometime) */ 
    519519    pj_memcpy(session->stream_info, si->stream_info, 
    520               si->stream_cnt * sizeof(pjmedia_session_info)); 
     520              si->stream_cnt * sizeof(pjmedia_stream_info)); 
    521521 
    522522    /* 
Note: See TracChangeset for help on using the changeset viewer.