Merged revisions 89037 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Tue, 6 Nov 2007 18:23:36 +0000 (18:23 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 6 Nov 2007 18:23:36 +0000 (18:23 +0000)
commit4c6c69bdcc4417eaa61fdd7b36622c8f94d5a3d2
treee7740e844ea4568ac9c6da2e7e72c3454b653dcc
parentb4031d629444f42a11e0c8125fce3849b54ccbb2
Merged revisions 89037 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89037 | russell | 2007-11-06 12:20:07 -0600 (Tue, 06 Nov 2007) | 11 lines

If someone were to delete the files used by an existing MOH class, and then
issue a reload, further use of that class could result in a crash due to
dividing by zero.  This set of changes fixes up some places to prevent this
from happening.

(closes issue #10948)
Reported by: jcomellas
Patches:
      res_musiconhold_division_by_zero.patch uploaded by jcomellas (license 282)
  Additional changes added by me.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_musiconhold.c