Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 433a362

Browse files
yoffRasmusWL
andauthored
Apply suggestions from code review
Co-authored-by: Rasmus Wriedt Larsen <[email protected]>
1 parent 4bd56fd commit 433a362

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

python/ql/src/experimental/Security-new-dataflow/CWE-502/UnsafeDeserialization.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import experimental.dataflow.RemoteFlowSources
1919
import DataFlow::PathGraph
2020

2121
class 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

python/ql/src/experimental/semmle/python/frameworks/Marshal.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ private import experimental.semmle.python.Concepts
99

1010
private 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
*/
4343
private class MarshalDeserialization extends DeserializationSink::Range {
4444
MarshalDeserialization() {

0 commit comments

Comments
 (0)