Sebastian Kemper
eded5965a4
FS-10939 mod_cdr_mongodb: fix format truncation warnings with gcc 7
...
gcc 7 complains about possible format truncation:
mod_cdr_mongodb.c: In function 'my_on_reporting':
mod_cdr_mongodb.c:242:45: error: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Werror=format-truncation=]
snprintf(idx_buffer, sizeof(idx_buffer), "%d", callflow_idx);
The char * idx_buffer has a size of 4 Bytes, and according to gcc's
calculation it is possible that up to 11 Bytes might be copied into it
via int bson_idx.
This commit adds an extra 8 Bytes to char * idx_buffer, which silences
the warnings.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 19:00:09 +01:00
Sergey Safarov
df1ab07ca4
FS-9924: Removed extra space in source files
2017-02-09 23:59:49 -05:00
Michael Jerris
8d30c18c5a
fix clang build
2015-05-28 12:47:25 -05:00
Michael Jerris
3a979c67ab
FS-6293: fix mod_cdr_mongodb srcdir build
2014-03-18 15:07:39 -04:00
Michael Jerris
1c5e61447b
move libs/stfu into the core, as it is not really a lib
2014-03-17 09:44:14 -04:00
Michael Jerris
beae3aedc3
fix file refrences that subdir-objects doesn't like
2014-03-09 16:06:02 -04:00
Michael Jerris
bcd9f49fbe
move applications to use automake
2014-03-07 18:36:12 -05:00
Brian West
68e1a5635a
FS-4976
2014-02-23 17:59:01 -06:00
Ken Rice
6e7d5d0897
update copyright header for 2014
2014-02-12 12:08:56 -06:00
Nathan Neulinger
32adc789f6
make noexpandtab explicit in all vim modelines other than xml files
2013-06-25 11:50:17 -05:00
Daniel Swarbrick
e6f6c32c6f
minor tidyup of user-submitted patch from last year
2013-03-26 01:19:30 +01:00
Anthony Minessale
e1094cbd0f
FS-4902 --resolve
2012-12-03 16:39:09 -06:00
Daniel Swarbrick
6c2baed108
Fix segfault in mod_cdr_mongo when "number" is null. Thanks Dave May for bug report and patch. Fixes FS-4843.
2012-11-16 23:36:29 +01:00
Daniel Swarbrick
58f1ee7ff0
mod_cdr_mongodb: add post-v0.6 patch to driver to support Unix domain sockets
2012-10-21 22:59:51 +02:00
Daniel Swarbrick
a92fb019c5
Add missing config param to sample config
2012-10-21 17:55:13 +02:00
Daniel Swarbrick
b53e4ed800
mod_cdr_mongodb: add support for replica sets (refs FS-4668)
2012-10-21 17:52:45 +02:00
Daniel Swarbrick
2b6e342534
mod_cdr_mongodb: tweak auth handling
2012-10-21 16:21:01 +02:00
Daniel Swarbrick
ad7f889a82
mod_cdr_mongodb: add support for authentication
2012-10-21 16:04:56 +02:00
Daniel Swarbrick
c60b4b31c1
updating my email address
2012-10-14 14:00:11 +02:00
Daniel Swarbrick
10093b44c0
mod_cdr_mongodb: update MongoDB driver to v0.6
2012-10-14 13:45:50 +02:00
Daniel Swarbrick
52bf168b56
Abort module load if config can't be opened. Refs FS-4438
2012-07-20 02:38:12 +02:00
Daniel Swarbrick
9bd1c33115
Don't pass null pointers to bson_append_string(). Thanks Tamas Cseke for original patch.
...
Fixes FS-4309
2012-06-14 20:11:57 +02:00
Daniel Swarbrick
951f159901
update mongo-c-driver to 0.5.2
2012-05-10 11:03:04 +02:00
Daniel Swarbrick
3ba5c72977
release mutex after iterating over channel vars
2012-05-10 10:19:45 +02:00
Ken Rice
c5554eb939
Copyright date update.
2012-04-18 11:52:02 -05:00
Ken Rice
cac6c262bb
conf: add config files to module directories
...
The idea here is that the config files in the module directories will
serve as the canonical documentation of all module configuration
options.
2012-03-24 04:51:08 +00:00
Daniel Swarbrick
a91691999d
add MongoDB CDR module
2011-09-07 23:50:25 +02:00