Bug 363454

Summary: [vcc.y:445]: (warning) Size of pointer 'p2' used instead of size of its data.
Product: [Frameworks and Libraries] frameworks-kcalendarcore Reporter: dcb314
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: minor    
Priority: NOR    
Version First Reported In: git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description dcb314 2016-05-24 06:38:11 UTC
Source code is

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

Suggest new code

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



Reproducible: Always
Comment 1 Justin Zobel 2022-10-21 00:17:50 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 2 dcb314 2022-10-21 07:12:46 UTC
(In reply to Justin Zobel from comment #1)
> If you can reproduce the issue, please change the status to "CONFIRMED" when
> replying. Thank you!

Thanks for your kind offer, but I won't bother. If you are interested, you can find out
this for yourself.

More than six and a half years for a bug reply - see you in year 2029 ;->
Comment 3 Bug Janitor Service 2022-11-05 05:08:21 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-11-20 05:12:37 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!