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: [email protected]
          Reporter: [email protected]

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 the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to