[valgrind] [Bug 475498] Add reallocarray wrapper

2023-11-08 Thread Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=475498 Paul Floyd changed: What|Removed |Added Resolution|--- |FIXED Status|REPORTED

[valgrind] [Bug 475498] Add reallocarray wrapper

2023-11-07 Thread Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=475498 --- Comment #2 from Paul Floyd --- Created attachment 162942 --> https://bugs.kde.org/attachment.cgi?id=162942&action=edit initial patch Linux expected not yet generated -- You are receiving this mail because: You are watching all bug changes.

[valgrind] [Bug 475498] Add reallocarray wrapper

2023-10-11 Thread Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=475498 --- Comment #1 from Paul Floyd --- Also adding a wrapper will slightly improve error messages. The FreeBSD implementation is void * reallocarray(void *optr, size_t nmemb, size_t size) { if ((nmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW