summaryrefslogtreecommitdiff
path: root/tests/test_security_events.c
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2012-04-17 21:23:25 +0000
committerMatthew Jordan <mjordan@digium.com>2012-04-17 21:23:25 +0000
commit7b5eb159e9ad35b0488da542148bcff4d1b26433 (patch)
tree68c42bd869cb4f8d550e8660018a8b18604c088c /tests/test_security_events.c
parent016dfa01f1883a246c8944014ce0ecadff651a81 (diff)
Handle case where an unknown format is used to get the preferred codec size
In ast_codec_pref_getsize, if an unknown format is passed to the method, no preferred codec will be selected and a negative number will be used to index into the format list. The method now logs an unknown format as a warning, and returns an empty format list. (issue ASTERISK-19655) Reported by: Matt Jordan Review: https://reviewboard.asterisk.org/r/1863/ ........ Merged revisions 362377 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@362380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'tests/test_security_events.c')
0 files changed, 0 insertions, 0 deletions