The class LogSelection copies uninitialized memory

XMLWordPrintable

    • b17

        The class LogSelection's custom constructor does not initialize the whole _tags array but is lacking a custom copy constructor and assignment operator. This means that any copy will technically copy uninitialized memory, which is technically undefined behavior.

        We fill the whole array to avoid this issue.

              Assignee:
              Johan Sjölen
              Reporter:
              Johan Sjölen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: