Fix a crash when saying certain numbers in Chinese
authorMark Michelson <mmichelson@digium.com>
Wed, 21 Jan 2009 22:10:02 +0000 (22:10 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 21 Jan 2009 22:10:02 +0000 (22:10 +0000)
commit64216c93b05dd158b3e064f3d9660509bbcd7465
tree51c54c5d22e891a14201d8ed17f465f94e6e41b3
parent2c6a7907ff05c2a8bc7c5d1d6cd112cbfe52fece
Fix a crash when saying certain numbers in Chinese

This commit fixes a crash that was occurring when attempting to
say a number between 10000 and 100000 due to dividing by 0.

This also removes some places where a "zero" is spoken when it
should not be.

(closes issue #14291)
Reported by: dant
Patches:
      say.c-14291.diff uploaded by dant (license 670)
Tested by: dant

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@169794 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/say.c