diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-26 20:23:36 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-26 20:23:36 +0000 |
commit | 0bcf4b1f932cdbd52da2cc8ebc7734a52c4d1795 (patch) | |
tree | b68a6b6219e0d1b37d2a087bbdf63872e85b056d /channels/chan_local.c | |
parent | 119738bda6ec6e81084d733d0de906d42b8ed598 (diff) |
Since passing \0 as the second argument to strchr is valid (and will
match the trailing \0 of a string) we need to check that first, otherwise
we end up with incorrect results. Fix suggested by reporter.
(closes issue #13787)
Reported by: meitinger
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@152059 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_local.c')
0 files changed, 0 insertions, 0 deletions