-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 25
-
Component/s: client-libs
-
b21
-
linux
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8371024 | 21.0.10 | Jan Kratochvil | P4 | Resolved | Fixed | b01 |
| JDK-8371031 | 17.0.18 | Jan Kratochvil | P4 | Resolved | Fixed | b01 |
```
* For target support_native_java.desktop_libsplashscreen_splashscreen_gif.o:
/home/ysuenaga/github-forked/jdk/src/java.desktop/share/native/libsplashscreen/splashscreen_gif.c:51:41: error: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (12 chars into 11 available) [-Werror=unterminated-string-initialization]
51 | static const char szNetscape20ext[11] = "NETSCAPE2.0";
| ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
```
This constant seems to be used to detect Netscape 2.0 extension in GIF image. It should be used to compare with extension block without NUL char, but we should tweak initialization to avoid this error for safety code.
- backported by
-
JDK-8371024 Compiler error at splashscreen_gif.c due to unterminated string initialization
-
- Resolved
-
-
JDK-8371031 Compiler error at splashscreen_gif.c due to unterminated string initialization
-
- Resolved
-
- blocks
-
JDK-8369450 [Ubuntu 25.10] openjdk fails to build due to rust-coreutils date
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk17u-dev/c26cf5b1
-
Commit(master)
openjdk/jdk21u-dev/e3249542
-
Commit(master)
openjdk/jdk/898d4798
-
Review(master)
openjdk/jdk17u-dev/3611
-
Review(master)
openjdk/jdk21u-dev/1831
-
Review(master)
openjdk/jdk24u/224
-
Review(master)
openjdk/jdk/24770