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 <2645477756@qq.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: shuang cui <imcusg@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
  • 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.