1 parent 366d70b commit f67b729Copy full SHA for f67b729
1 file changed
csharp/ql/src/Security Features/CWE-020/RuntimeChecksBypassBad.cs
@@ -16,6 +16,6 @@ public PersonBad(int age)
16
[OnDeserializing]
17
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
18
{
19
- Age = info.GetInt32("age"); // $ Alert // BAD - write is unsafe
+ Age = info.GetInt32("age"); // $ Alert[cs/serialization-check-bypass] // BAD - write is unsafe
20
}
21
0 commit comments