Uploaded image for project: 'core-c#dof-oal'
  1. core-c#dof-oal
  2. COAL-121

Possible uninitialized variables in connected_protocolstack.c

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 8.0.1
    • 8.0
    • None

      The clang compiler reported that opt on line 1161 of connected_protocolstack.c may be used uninitialized.  This should not happen since one of the three if statements will be true, but to avoid the warning opt can be initialized to NULL.

      Also, i on line 1724 is uninitialized.  It should be initialized to zero.

            jwinder John Winder
            jwinder John Winder
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: