Module: kamailio
Branch: master
Commit: bd82882807ad89c7564709db414ddbe26bd70728
URL:
https://github.com/kamailio/kamailio/commit/bd82882807ad89c7564709db414ddbe…
Author: Jan Janak <janakj(a)cs.columbia.edu>
Committer: Jan Janak <janakj(a)cs.columbia.edu>
Date: 2019-04-20T12:18:52-04:00
More string buffer handling improvements in imc module
Let the compiler do the work of figuring out the size of the string
buffer being written to using the sizeof operator. Hopefully, this
will make the source code less error-prone and more Coverity friendly.
Properly handle all return values of snprintf. In particular, do not
fail silently if the function returns -1.
---
Modified: src/modules/imc/imc_cmd.c
---
Diff:
https://github.com/kamailio/kamailio/commit/bd82882807ad89c7564709db414ddbe…
Patch:
https://github.com/kamailio/kamailio/commit/bd82882807ad89c7564709db414ddbe…