1. 27 3月, 2018 7 次提交
  2. 26 3月, 2018 1 次提交
    • Sebastian Kemper's avatar
      FS-10939 mod_cdr_mongodb: fix format truncation warnings with gcc 7 · 2cb6ef3f
      Sebastian Kemper 提交于
      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: 's avatarSebastian Kemper <sebastian_ml@gmx.net>
      2cb6ef3f
  3. 23 3月, 2018 5 次提交
  4. 20 3月, 2018 1 次提交
  5. 15 3月, 2018 5 次提交
  6. 21 2月, 2018 1 次提交
  7. 06 2月, 2018 1 次提交
  8. 02 2月, 2018 1 次提交
  9. 29 1月, 2018 1 次提交
  10. 22 1月, 2018 1 次提交
  11. 16 1月, 2018 2 次提交
  12. 15 1月, 2018 14 次提交