Details
-
Bug
-
Resolution: Fixed
-
P3
-
19
-
b15
-
generic
-
os_x
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8290052 | 17.0.5-oracle | Anton Litvinov | P3 | Resolved | Fixed | b03 |
JDK-8289034 | 17.0.5 | Sergey Bylokhov | P3 | Resolved | Fixed | b01 |
Description
png_isaligned(dp, png_uint_16) &&
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Elephant/Users/jlaskey/Git/jdk/open/src/java.desktop/share/native/libsplashscreen/libpng/pngpriv.h:634:29: note: expanded from macro 'png_isaligned'
(((type)((const char*)ptr-(const char*)0) & \
^~~~~~~~~~~~~~~
/Volumes/Elephant/Users/jlaskey/Git/jdk/open/src/java.desktop/share/native/libsplashscreen/libpng/pngrutil.c:3585:20: error: performing pointer subtraction with a null pointer has undefined behavior [-Werror,-Wnull-pointer-subtraction]
png_isaligned(sp, png_uint_16) &&
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Elephant/Users/jlaskey/Git/jdk/open/src/java.desktop/share/native/libsplashscreen/libpng/pngpriv.h:634:29: note: expanded from macro 'png_isaligned'
(((type)((const char*)ptr-(const char*)0) & \
^~~~~~~~~~~~~~~
/Volumes/Elephant/Users/jlaskey/Git/jdk/open/src/java.desktop/share/native/libsplashscreen/libpng/pngrutil.c:3592:23: error: performing pointer subtraction with a null pointer has undefined behavior [-Werror,-Wnull-pointer-subtraction]
if (png_isaligned(dp, png_uint_32) &&
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Elephant/Users/jlaskey/Git/jdk/open/src/java.desktop/share/native/libsplashscreen/libpng/pngpriv.h:634:29: note: expanded from macro 'png_isaligned'
(((type)((const char*)ptr-(const char*)0) & \
^~~~~~~~~~~~~~~
/Volumes/Elephant/Users/jlaskey/Git/jdk/open/src/java.desktop/share/native/libsplashscreen/libpng/pngrutil.c:3593:23: error: performing pointer subtraction with a null pointer has undefined behavior [-Werror,-Wnull-pointer-subtraction]
png_isaligned(sp, png_uint_32) &&
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Elephant/Users/jlaskey/Git/jdk/open/src/java.desktop/share/native/libsplashscreen/libpng/pngpriv.h:634:29: note: expanded from macro 'png_isaligned'
(((type)((const char*)ptr-(const char*)0) & \
^~~~~~~~~~~~~~~
/Volumes/Elephant/Users/jlaskey/Git/jdk/open/src/java.desktop/share/native/libsplashscreen/libpng/pngrutil.c:4652:34: error: performing pointer subtraction with a null pointer has undefined behavior [-Werror,-Wnull-pointer-subtraction]
int extra = (int)((temp - (png_bytep)0) & 0x0f);
^ ~~~~~~~~~~~~
/Volumes/Elephant/Users/jlaskey/Git/jdk/open/src/java.desktop/share/native/libsplashscreen/libpng/pngrutil.c:4656:30: error: performing pointer subtraction with a null pointer has undefined behavior [-Werror,-Wnull-pointer-subtraction]
extra = (int)((temp - (png_bytep)0) & 0x0f);
^ ~~~~~~~~~~~~
Attachments
Issue Links
- backported by
-
JDK-8289034 [macos] libpng build failures with Xcode13.3
- Resolved
-
JDK-8290052 [macos] libpng build failures with Xcode13.3
- Resolved
- is cloned by
-
JDK-8283564 [macos] liblcms build failures with Xcode13.3
- Closed
- relates to
-
JDK-8283221 [macos] cmstypes.c fails compilation with Xcode13.3
- Closed
- links to
-
Commit openjdk/jdk17u-dev/a2be28da
-
Commit openjdk/jdk/33eb89df
-
Review openjdk/jdk17u-dev/492
-
Review openjdk/jdk18u/174
-
Review openjdk/jdk/7911