Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-647

DUMP_IOVEC(): Use of uninitialised value of size 8

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2-rc0
    • Affects Version/s: 1.2.0
    • Component/s: None
    • None

      ==5959== Use of uninitialised value of size 8
      ==5959==    at 0x6166AF1: _itoa_word (_itoa.c:180)
      ==5959==    by 0x616A7E6: vfprintf (vfprintf.c:1641)
      ==5959==    by 0x61941C8: vsnprintf (vsnprintf.c:119)
      ==5959==    by 0x70C0493: bson_vsnprintf (bson-string.c:620)
      ==5959==    by 0x70C017A: bson_strdupv_printf (bson-string.c:390)
      ==5959==    by 0x70BFF18: bson_string_append_printf (bson-string.c:267)
      ==5959==    by 0x70ED582: mongoc_stream_readv (mongoc-stream.c:203)
      ==5959==    by 0x70ED845: mongoc_stream_read (mongoc-stream.c:244)
      ==5959==    by 0x70C50CD: _mongoc_buffer_append_from_stream (mongoc-buffer.c:175)
      ==5959==    by 0x70D00DF: mongoc_cluster_try_recv (mongoc-cluster.c:2234)
      ==5959==    by 0x70C871B: _mongoc_client_recv (mongoc-client.c:486)
      ==5959==    by 0x70D6D70: _mongoc_cursor_query (mongoc-cursor.c:511)
      ==5959==  Uninitialised value was created by a heap allocation
      ==5959==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==5959==    by 0x4C2CF4F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==5959==    by 0x8183AF: _erealloc (zend_alloc.c:2448)
      ==5959==    by 0x71054FF: php_phongo_realloc (php_phongo.c:1721)
      ==5959==    by 0x70BDE78: bson_realloc (bson-memory.c:148)
      ==5959==    by 0x70BDEBE: bson_realloc_ctx (bson-memory.c:187)
      ==5959==    by 0x70C4C77: _mongoc_buffer_init (mongoc-buffer.c:70)
      ==5959==    by 0x70D624A: _mongoc_cursor_new (mongoc-cursor.c:308)
      ==5959==    by 0x70C99F8: mongoc_client_command (mongoc-client.c:1222)
      ==5959==    by 0x71009C4: phongo_execute_command (php_phongo.c:601)
      ==5959==    by 0x70997DE: zim_Manager_executeCommand (Manager.c:105)
      ==5959==    by 0x89ABA4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
      ==5959== 
      

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: