File tree Expand file tree Collapse file tree
python/ql/src/experimental
Security-new-dataflow/CWE-502 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import experimental.dataflow.RemoteFlowSources
1919import DataFlow:: PathGraph
2020
2121class UnsafeDeserializationConfiguration extends TaintTracking:: Configuration {
22- UnsafeDeserializationConfiguration ( ) { this = "Unsafe deserialization configuration " }
22+ UnsafeDeserializationConfiguration ( ) { this = "UnsafeDeserializationConfiguration " }
2323
2424 override predicate isSource ( DataFlow:: Node source ) { source instanceof RemoteFlowSource }
2525
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ private import experimental.semmle.python.Concepts
99
1010private module Marshal {
1111 /** Gets a reference to the `marshal` module. */
12- DataFlow:: Node marshal ( DataFlow:: TypeTracker t ) {
12+ private DataFlow:: Node marshal ( DataFlow:: TypeTracker t ) {
1313 t .start ( ) and
1414 result = DataFlow:: importModule ( "marshal" )
1515 or
@@ -38,7 +38,7 @@ private module Marshal {
3838
3939/**
4040 * A call to `marshal.loads`
41- * See https://docs.python.org/2 /library/marshal.html#marshal.load
41+ * See https://docs.python.org/3 /library/marshal.html#marshal.loads
4242 */
4343private class MarshalDeserialization extends DeserializationSink:: Range {
4444 MarshalDeserialization ( ) {
You can’t perform that action at this time.
0 commit comments