jio_snprintf and friends are not checked by -Wformat
Thorsten Glaser
t.glaser at qvest-digital.com
Sat Jun 29 11:39:56 UTC 2024
Hi,
I would like to request a change to be added early in the next
development cycle, so we can test these on all kinds of platform
(64-bit with 64-bit time_t, 32-bit with both 32-bit and 64-bit
time_t).
https://bugs.java.com/bugdatabase/view_bug?bug_id=8198918 has
https://github.com/openjdk/jdk/pull/15918 listed, but that’s
incomplete (as I noted there): the ATTRIBUTE_PRINTF were removed
from prims/jvm.cpp (correct, as they are useless there) but not
added to prims/jvm.h where they’re needed for call sites checking.
Thanks,
//mirabilos
--
Infrastrukturexperte • Qvest Digital AG
Am Dickobskreuz 10, D-53121 Bonn • https://www.qvest-digital.com/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 18196 • USt-ID (VAT): DE274355441
Vorstand: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
Vorsitzender Aufsichtsrat: Peter Nöthen
More information about the jdk8u-dev
mailing list