From 50d44e86ea260993e67a7138c1c7cf34a89ee63b Mon Sep 17 00:00:00 2001 From: Jason Nelson Date: Thu, 22 Feb 2024 20:59:06 -0800 Subject: [PATCH] Clarify count range --- MetadataExtractor/Formats/Apple/BplistReader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MetadataExtractor/Formats/Apple/BplistReader.cs b/MetadataExtractor/Formats/Apple/BplistReader.cs index 320ed773..f59e0b3e 100644 --- a/MetadataExtractor/Formats/Apple/BplistReader.cs +++ b/MetadataExtractor/Formats/Apple/BplistReader.cs @@ -121,7 +121,7 @@ static object HandleInt(ref BufferReader reader, byte marker) static Dictionary HandleDict(ref BufferReader reader, byte count) { - Span keyRefs = stackalloc byte[count]; // <= 255 + Span keyRefs = stackalloc byte[count]; // count is a byte (0-255) reader.GetBytes(keyRefs);