You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry @joperezr misread your question, i think it would be good to have it fixed in 5.0, but as BinaryFormatter is being obsoleted now not sure if we would/should fix it CC @GrabYourPitchforks
While annotating System.Runtime.Serialization.Formatters for nullable found a method called with null reference but used without null check causing NRE. In below method typeNameInfo parameter explicitly called with null:
_serWriter.WriteObject(typeNameInfo, null, numItems, memberNames, memberTypes, memberObjectInfos);
which referenced twice within the methodobjectName = typeNameInfo.NIname
andelse if (!typeNameInfo._transmitTypeOnObject)
. https://github.com/dotnet/corefx/blob/master/src/System.Runtime.Serialization.Formatters/src/System/Runtime/Serialization/Formatters/Binary/BinaryObjectWriter.cs#L230The text was updated successfully, but these errors were encountered: