Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fuzzing] [adamsitnik] [NRBF] More bug fixes #653

Open
MihuBot opened this issue Sep 11, 2024 · 0 comments
Open

[Fuzzing] [adamsitnik] [NRBF] More bug fixes #653

MihuBot opened this issue Sep 11, 2024 · 0 comments

Comments

@MihuBot
Copy link
Owner

MihuBot commented Sep 11, 2024

Job completed in 38 minutes.
dotnet/runtime#107682

// NrbfDecoderFuzzer
System.InvalidOperationException: Operation is not valid due to the current state of the object.
   at System.Formats.Nrbf.RectangularArrayRecord.MapPrimitive(PrimitiveType primitiveType)
   at System.Formats.Nrbf.RectangularArrayRecord.Create(BinaryReader reader, ArrayInfo arrayInfo, MemberTypeInfo memberTypeInfo, Int32[] lengths)
   at System.Formats.Nrbf.BinaryArrayRecord.Decode(BinaryReader reader, RecordMap recordMap, PayloadOptions options)
   at System.Formats.Nrbf.NrbfDecoder.DecodeNext(BinaryReader reader, RecordMap recordMap, AllowedRecordTypes allowed, PayloadOptions options, SerializationRecordType& recordType)
   at System.Formats.Nrbf.NrbfDecoder.Decode(BinaryReader reader, PayloadOptions options, IReadOnlyDictionary`2& readOnlyRecordMap)
   at System.Formats.Nrbf.NrbfDecoder.Decode(Stream payload, IReadOnlyDictionary`2& recordMap, PayloadOptions options, Boolean leaveOpen)
   at DotnetFuzzing.Fuzzers.NrbfDecoderFuzzer.Test(Span`1 testSpan, Stream stream) in D:\runner-dir\runtime\src\libraries\Fuzzing\DotnetFuzzing\Fuzzers\NrbfDecoderFuzzer.cs:line 43
   at DotnetFuzzing.Fuzzers.NrbfDecoderFuzzer.Test(ReadOnlySpan`1 bytes, PoisonPagePlacement poisonPagePlacement) in D:\runner-dir\runtime\src\libraries\Fuzzing\DotnetFuzzing\Fuzzers\NrbfDecoderFuzzer.cs:line 30
   at DotnetFuzzing.Fuzzers.NrbfDecoderFuzzer.FuzzTarget(ReadOnlySpan`1 bytes) in D:\runner-dir\runtime\src\libraries\Fuzzing\DotnetFuzzing\Fuzzers\NrbfDecoderFuzzer.cs:line 21
   at DotnetFuzzing.Program.<>c__DisplayClass1_0.<RunFuzzer>b__0(ReadOnlySpan`1 bytes) in D:\runner-dir\runtime\src\libraries\Fuzzing\DotnetFuzzing\Program.cs:line 91
   at SharpFuzz.Fuzzer.LibFuzzer.Run(ReadOnlySpanAction action, Boolean ignoreExceptions)
==8688== ERROR: libFuzzer: deadly signal
NOTE: libFuzzer has rudimentary signal handlers.
      Combine libFuzzer with AddressSanitizer or similar for better crash reports.
SUMMARY: libFuzzer: deadly signal
MS: 0 ; base unit: 0000000000000000000000000000000000000000
0x0,0x9,0x0,0x0,0x0,0xff,0xff,0xff,0xff,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x7,0x1,0x17,0x0,0x0,0x2,0x8,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x4,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x7,0x0,0x0,0x7,0xfa,0x0,0x7,0x7,0x7,0x7,0x7,0x7,0x6,0x0,0x0,0x0,0x0,0x12,
\000\011\000\000\000\377\377\377\377\001\000\000\000\000\000\000\000\007\001\027\000\000\002\010\000\000\000\000\000\000\000\000\000\004\000\000\000\000\000\000\000\000\000\007\000\000\007\372\000\007\007\007\007\007\007\006\000\000\000\000\022
artifact_prefix='./'; Test unit written to NrbfDecoderFuzzer-artifact-1
Base64: AAkAAAD/////AQAAAAAAAAAHARcAAAIIAAAAAAAAAAAABAAAAAAAAAAAAAcAAAf6AAcHBwcHBwYAAAAAEg==

Artifacts:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant