• marcus's avatar
    Fix memory access issue in srtp_get_session_keys() · d4bd43c9
    marcus authored
    Issue:
    In srtp_get_session_keys(), when packet size (*pkt_octet_len) is
    greater than auth tag length but smaller than (auth tag length + MKI
    size), mki_start_location would take on incredible huge values,
    leading to memory access issue when calling memcmp() on iOS platform.
    
    Fix:
    Add additional sanity check before calculating mki_start_location.
    d4bd43c9
Name
Last commit
Last update
crypto Loading commit data...
doc Loading commit data...
include Loading commit data...
srtp Loading commit data...
test Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CHANGES Loading commit data...
LICENSE Loading commit data...
Makefile.in Loading commit data...
README.md Loading commit data...
config.guess Loading commit data...
config.h_win32vc7 Loading commit data...
config.hw Loading commit data...
config.sub Loading commit data...
config_in.h Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...
format.sh Loading commit data...
install-sh Loading commit data...
install-win.bat Loading commit data...
libsrtp2.pc.in Loading commit data...
srtp.def Loading commit data...
srtp.sln Loading commit data...
srtp2.vcxproj Loading commit data...
srtp2.vcxproj.filters Loading commit data...
timing Loading commit data...
undos.sh Loading commit data...
update.sh Loading commit data...