-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P3
-
Affects Version/s: 27
-
Component/s: client-libs
For example,
#define ht 1
#define th 8
k[] = {0xAB};
is parsed as 1×8 instead of 8×1 after
The above problem is addressed by
#define ht 1
#define h 8
is rejected: Invalid values for width or height. Previously, `-h` was a marker for the width, and `-ht` was for height. [1]
But
[1] https://github.com/openjdk/jdk/blob/fc807d0914c4d8d2a174410a35acf3520ff4e60a/src/java.desktop/share/classes/sun/awt/image/XbmImageDecoder.java#L109-L112
[2] https://github.com/openjdk/jdk/blob/7f707ba8e746d859ac171d71ef8f731953a92e6a/src/java.desktop/share/classes/sun/awt/image/XbmImageDecoder.java#L114-L118
- caused by
-
JDK-8373727 New XBM images parser regression: only the first line of the bitmap array is parsed
-
- Resolved
-
- relates to
-
JDK-8361748 Enforce limits on the size of an XBM image
-
- Resolved
-