Files
asterisk/apps
Kinsey Moore 0eab8b669d Avoid a segfault on invalid format names
If a format name was not found by ast_getformatbyname, a NULL pointer
would be passed into ast_format_rate and immediately dereferenced.
This ensures that a valid pointer is used since the structure is
already allocated on the stack.

(closes issue DPH-523)
Reported-by: Steve Pitts
........

Merged revisions 374932 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@374933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-10-12 21:58:29 +00:00
..
2012-10-01 23:22:50 +00:00
2012-10-01 23:22:50 +00:00
2012-10-01 23:22:50 +00:00
2012-09-27 22:43:27 +00:00
2012-10-01 23:22:50 +00:00
2012-10-01 23:22:50 +00:00
2012-09-21 17:14:59 +00:00
2012-10-01 23:22:50 +00:00
2012-09-22 20:43:30 +00:00
2012-05-18 14:43:44 +00:00
2012-05-18 14:43:44 +00:00
2012-10-01 23:22:50 +00:00
2012-06-15 16:20:16 +00:00
2012-06-25 17:59:34 +00:00