mirror of
https://github.com/github/codeql.git
synced 2026-07-08 21:15:32 +02:00
Update query example (synced file)
This commit is contained in:
@@ -16,6 +16,6 @@ public class PersonBad : ISerializable
|
||||
[OnDeserializing]
|
||||
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
Age = info.GetInt32("age"); // $ Alert // BAD - write is unsafe
|
||||
Age = info.GetInt32("age"); // $ Alert[cs/serialization-check-bypass] // BAD - write is unsafe
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user