Browse Source
Update src/ImageSharp/Metadata/Profiles/Exif/ExifReader.cs
Co-authored-by: Günther Foidl <gue@korporal.at>
pull/1760/head
Ildar Khayrutdinov
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/ImageSharp/Metadata/Profiles/Exif/ExifReader.cs
|
|
|
@ -150,7 +150,7 @@ namespace SixLabors.ImageSharp.Metadata.Profiles.Exif |
|
|
|
this.Seek(offset); |
|
|
|
int count = this.ReadUInt16(); |
|
|
|
|
|
|
|
Span<byte> offsetBuffer = new byte[4]; |
|
|
|
Span<byte> offsetBuffer = stackalloc byte[4]; |
|
|
|
for (int i = 0; i < count; i++) |
|
|
|
{ |
|
|
|
this.ReadValue(values, offsetBuffer); |
|
|
|
|