diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-15 20:56:27 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-15 20:56:27 +0000 |
commit | 3714d9820fda685c1602606bb1209d79a387632a (patch) | |
tree | 13dfce7ac8e12b611f57a934e3721d255bb109e8 /configs/rpt.conf.sample | |
parent | 413dabc747b48fec4e76f913b772904e3f21cae3 (diff) |
Fix a number of problems with ast_sched_report().
1) It had numerous coding guidelines violations with regards to formatting.
2) It allocated memory using ast_calloc() that was never freed.
3) It didn't check for failure from the allocation.
4) It used sprintf() and strcat() to build the result, doing zero checking to
prevent writing past the end of the provided buffer.
The function also lacks API documentation, but that has not been addressed in
this commit.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@175829 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/rpt.conf.sample')
0 files changed, 0 insertions, 0 deletions