Changeset 1007 for pjproject


Ignore:
Timestamp:
Feb 26, 2007 10:50:05 PM (18 years ago)
Author:
bennylp
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/pjproject-0.5-stable/pjmedia/src/pjmedia/session.c

    r974 r1007  
    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.