Skip to content

Commit

Permalink
tiff: fix function name in comment
Browse files Browse the repository at this point in the history
Change-Id: I33d53b519cd495e5b576ad5a3d142abb215a8b1e
Reviewed-on: https://go-review.googlesource.com/c/image/+/579176
Reviewed-by: qiu laidongfeng2 <[email protected]>
Auto-Submit: Ian Lance Taylor <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
Run-TryBot: shuang cui <[email protected]>
Reviewed-by: Cherry Mui <[email protected]>
  • Loading branch information
cuishuang authored and gopherbot committed Apr 16, 2024
1 parent 9e190ae commit 0057a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiff/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var errNoPixels = FormatError("not enough pixel data")

const maxChunkSize = 10 << 20 // 10M

// safeReadtAt is a verbatim copy of internal/saferio.ReadDataAt from the
// safeReadAt is a verbatim copy of internal/saferio.ReadDataAt from the
// standard library, which is used to read data from a reader using a length
// provided by untrusted data, without allocating the entire slice ahead of time
// if it is large (>maxChunkSize). This allows us to avoid allocating giant
Expand Down

0 comments on commit 0057a93

Please sign in to comment.