| Summary: | icalmime.c:182: bad call to memset ? | ||
|---|---|---|---|
| Product: | [Applications] kdepim | Reporter: | dcb314 |
| Component: | general | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | gjditchfield |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
libical is not a KDE library. It is maintained at https://github.com/libical/libical. |
icalmime.c:182:27: warning: 'memset' call operates on objects of type 'struct sspm_part' while the size is based on a different type 'struct sspm_part *' [-Wsizeof-pointer-memaccess] Source code is memset(parts,0,sizeof(parts)); Maybe better code memset(parts,0,sizeof(*parts));