From 0057a939a541e6068d04ccf947c61a708378101d Mon Sep 17 00:00:00 2001 From: cuishuang Date: Tue, 16 Apr 2024 17:56:14 +0800 Subject: [PATCH] tiff: fix function name in comment 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 TryBot-Result: Gopher Robot LUCI-TryBot-Result: Go LUCI Reviewed-by: Ian Lance Taylor Run-TryBot: shuang cui Reviewed-by: Cherry Mui --- tiff/reader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiff/reader.go b/tiff/reader.go index f31569b..0ad1552 100644 --- a/tiff/reader.go +++ b/tiff/reader.go @@ -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