mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
f67d599a01
We must take into account the line padding, when we're reading XBM files. We deliberately ignore the potential integer overflow here, because that would be caught by gdImageCreate() or even earlier if `bytes==0`, what happens in libgd00094.phpt which we adapt accordingly.
6 lines
208 B
C
6 lines
208 B
C
#define test_width 10
|
|
#define test_height 10
|
|
static unsigned char test_bits[] = {
|
|
0xFF, 0x03, 0x00, 0x00, 0xFF, 0x03, 0x00, 0x00, 0xFF, 0x03, 0x00, 0x00,
|
|
0xFF, 0x03, 0x00, 0x00, 0xFF, 0x03, 0x00, 0x00};
|