Commit Graph

2 Commits

Author SHA1 Message Date
Richard Mudgett
4547358e75 Fix type punned compiler warning in test_config.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@365476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-05-07 18:40:35 +00:00
Terry Wilson
f0eb58d0d5 Fix ast_parse_arg numeric type range checking and add tests
ast_parse_arg wasn't checking for strto* parse errors or limiting
the results by the actual range of the numeric types. This patch fixes
that and adds unit tests as well.

Review: https://reviewboard.asterisk.org/r/1879/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@364340 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-04-27 21:45:15 +00:00