You've already forked linux-packaging-mono
Imported Upstream version 6.8.0.73
Former-commit-id: d18deab1b47cfd3ad8cba82b3f37d00eec2170af
This commit is contained in:
parent
bceda29824
commit
73ee7591e8
2
external/cecil/Mono.Cecil.PE/ImageReader.cs
vendored
2
external/cecil/Mono.Cecil.PE/ImageReader.cs
vendored
@@ -350,7 +350,7 @@ namespace Mono.Cecil.PE {
|
||||
PointerToRawData = ReadInt32 (),
|
||||
};
|
||||
|
||||
if (directory.PointerToRawData == 0) {
|
||||
if (directory.PointerToRawData == 0 || directory.SizeOfData < 0) {
|
||||
entries [i] = new ImageDebugHeaderEntry (directory, Empty<byte>.Array);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user