https://bugs.kde.org/show_bug.cgi?id=363454

            Bug ID: 363454
           Summary: [vcc.y:445]: (warning) Size of pointer 'p2' used
                    instead of size of its data.
           Product: kcalcore
           Version: git
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: kdepim-b...@kde.org
          Reporter: dcb...@hotmail.com

Source code is

    p2 = malloc(sizeof(char *) * (strlen(p1)+strlen(value)+1));

Suggest new code

    p2 = malloc( strlen(p1) + strlen(value) + 1);



Reproducible: Always

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to