Closed MihaZupan closed 1 month ago
Tagging subscribers to this area: @dotnet/area-system-reflection-metadata See info in area-owners.md if you want to be subscribed.
Tagging subscribers to 'binaryformatter-migration': @adamsitnik, @bartonjs, @jeffhandley, @terrajobst
@adamsitnik I'm guessing this is by-design? AssemblyName
represents the Culture
as a CultureInfo
so feeding in a bogus value here will cause it to throw. Are there any side effects from this that would warrant it being a bug and not "by-design"?
We just need to make sure this scenario is recognized properly (all unexpected exceptions are treated as bugs)
I see, so you need to add a catch here to indicate you expect a CultureNotFoundException: https://github.com/dotnet/runtime/blob/d6094d218c74e0cc496a7bceeda016a3b34b1967/src/libraries/Fuzzing/DotnetFuzzing/Fuzzers/AssemblyNameInfoFuzzer.cs#L60
Input:
sibP,culture=aaaA
cc: @adamsitnik @buyaa-n