Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Thanks to Matteo Vescovi for pointing these out.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
  • Loading branch information
lgritz committed Jan 21, 2024
1 parent 6b2f82c commit 1f68a59
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2477,7 +2477,7 @@ Developer goodies / internals:
- TypeDesc can now describe 2D and 3D bounding boxes, as arrays of 2
VEC2 aggregates (for 2D) or VEC3 aggregates (for 3D) with "BOX"
semantic. The shorthand for these are `TypeBox2`, `TypeBox3` (for
float), and `TypeBox2i` and `TypeBox3i` for integer or pixel coordinte
float), and `TypeBox2i` and `TypeBox3i` for integer or pixel coordinate
boxes. #3008 (2.2.17/2.3.6)
* unordered_map_concurrent.h:
- New methods find_or_insert, nobin_mask(). #2867 (2.2.12/2.3.3)
Expand Down Expand Up @@ -2680,7 +2680,7 @@ Release 2.2.17 (1 Aug 2021) -- compared to 2.2.16
* typedesc.h: TypeDesc can now describe 2D and 3D bounding boxes, as arrays
of 2 VEC2 aggregates (for 2D) or VEC3 aggregates (for 3D) with "BOX"
semantic. The shorthand for these are `TypeBox2`, `TypeBox3` (for float),
and `TypeBox2i` and `TypeBox3i` for integer or pixel coordinte
and `TypeBox2i` and `TypeBox3i` for integer or pixel coordinate
boxes. #3008
* Build: Fixes for building against fmt 8.0.0. #3007
* Build: Finding boost is more flexible when desiring static libraries. #3031
Expand Down
2 changes: 1 addition & 1 deletion src/bmp.imageio/bmpinput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ BmpInput::read_rle_image()
}
if (y >= m_spec.height) { // out of y bounds
errorfmt(
"BMP might be corrupted, it is referencing an out-of-bounds pixel coordinte ({},{})",
"BMP might be corrupted, it is referencing an out-of-bounds pixel coordinate ({},{})",
x, y);
ok = false;
break;
Expand Down
2 changes: 1 addition & 1 deletion testsuite/bmp/ref/out.txt
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ PASS
oiiotool ERROR: read : "src/decodecolormap-corrupt.bmp": Possible corrupted header, invalid palette size
Full command line was:
> oiiotool --info -v -a --hash src/decodecolormap-corrupt.bmp
oiiotool ERROR: read : "src/bad-y.bmp": BMP might be corrupted, it is referencing an out-of-bounds pixel coordinte (0,255)
oiiotool ERROR: read : "src/bad-y.bmp": BMP might be corrupted, it is referencing an out-of-bounds pixel coordinate (0,255)
BMP error reading rle-compressed image
Full command line was:
> oiiotool --info -v -a --hash src/bad-y.bmp

0 comments on commit 1f68a59

Please sign in to comment.