]> git.ipfire.org Git - thirdparty/asterisk.git/commit
parking_tests: Fix assertions and possibly crashes in res_parking unit tests
authorJonathan Rose <jrose@digium.com>
Wed, 15 Oct 2014 19:05:14 +0000 (19:05 +0000)
committerJonathan Rose <jrose@digium.com>
Wed, 15 Oct 2014 19:05:14 +0000 (19:05 +0000)
commitfab0df2f4c4b13e694db7e16c4b17bcaa647f098
tree312286455aab13df795087797eee956d5cfb73f6
parentedf5af72e9e9272a2ab885c600995012cd5d8ff9
parking_tests: Fix assertions and possibly crashes in res_parking unit tests

Assertions were caused by attempting to play music on hold to a channel with
no formats. Parking unit test channels were given formats and a technology so
that they would be able to pretend to read/write frames.

ASTERISK-24413 #close
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/4075/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@425611 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/parking/parking_tests.c