diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-26 20:26:18 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-26 20:26:18 +0000 |
commit | fe14ffa0b926f1bab5999b532b404adc91f87276 (patch) | |
tree | aa03242770264b8f35e5fdf268e97652f893263c /funcs/func_cut.c | |
parent | 6da211a8b5c03e6a4741ba033e221c0bf2c06391 (diff) |
Merged revisions 152060 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r152060 | seanbright | 2008-10-26 16:25:08 -0400 (Sun, 26 Oct 2008) | 15 lines
Merged revisions 152059 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r152059 | seanbright | 2008-10-26 16:23:36 -0400 (Sun, 26 Oct 2008) | 7 lines
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.6.0@152062 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_cut.c')
0 files changed, 0 insertions, 0 deletions