Search results for query: *

  1. P

    Question ReadLine caught in security scan as deserialization of untrusted data

    Actually I have given all the information with a little changes to the naming of the objects otherwise what I have provided is everything. Somehow the CheckMarks may not be able to mitigate the issue.
  2. P

    Question ReadLine caught in security scan as deserialization of untrusted data

    In fact there is no error. When I run the code I have seen this post and there is no example in c# and also seems like I have followed the same what is been told in the post. But it could be better if I can get any solution with my c# code above. I am really unable to find a solution for...
  3. P

    Question ReadLine caught in security scan as deserialization of untrusted data

    Let me explain it ... There is a MessageConfig object which is being inherited from a common object DBCommonConfig which has some common properties. So the MessageConfig object looks like below. public class DBCommonConfig { protected string name; protected string className...
  4. P

    Question ReadLine caught in security scan as deserialization of untrusted data

    Hi Thank you for your reply and suggestions. I have made the changes you suggested and re run the scan now it says like this The serialized object fs processed in LoadConfig in the file Test\Simulator.cs at line 368 is deserialized by Deserialize in the file Test\Simulator.cs at line 368. Stll...
  5. P

    Question ReadLine caught in security scan as deserialization of untrusted data

    I have below code implemented in my project.. public static String LoadTextFile(String path) { StringBuilder sb = new StringBuilder(); using (StreamReader reader = new FileInfo(path).OpenText()) { try { String text = null...
Back
Top Bottom