diff options
author | Sean Bright <sean@malleable.com> | 2009-01-13 23:46:00 +0000 |
---|---|---|
committer | Sean Bright <sean@malleable.com> | 2009-01-13 23:46:00 +0000 |
commit | 0ea1ba2d21e5730876609f6fd866194fc41a186c (patch) | |
tree | a163d8aadc5ba834f7beeabf2be596ae6fadead2 /dahdi_scan.c | |
parent | 0ca7f76c02f7f1669f4017de1039da3c3cad9b05 (diff) |
The problem with using dahdi_copy_string here is that it is guaranteed to NULL
terminate the destination string, which in this case was not correct. So revert
back to using strncpy and also decrease the buffer by 1 since it was reserving
an extra byte behind NULL for some reason. Fix suggested by reporter.
(closes issue #14103)
Reported by: gork
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5656 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'dahdi_scan.c')
0 files changed, 0 insertions, 0 deletions