Skip to content

Commit 08e1e8a

Browse files
committed
Improve inaccurate deprecation comments
1 parent 94c15f7 commit 08e1e8a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

go/ql/lib/semmle/go/security/AllocationSizeOverflow.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module AllocationSizeOverflow {
1414
import AllocationSizeOverflowCustomizations::AllocationSizeOverflow
1515

1616
/**
17-
* DEPRECATED: Use `FindLargeLensFlow` instead.
17+
* DEPRECATED: Use a copy of `FindLargeLensConfig` and `FindLargeLensFlow` instead.
1818
*
1919
* A taint-tracking configuration for identifying `len(...)` calls whose argument may be large.
2020
*/

go/ql/lib/semmle/go/security/UnsafeUnzipSymlink.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module UnsafeUnzipSymlink {
1414
import UnsafeUnzipSymlinkCustomizations::UnsafeUnzipSymlink
1515

1616
/**
17-
* DEPRECATED: Use `EvalSymlinksFlow` instead.
17+
* DEPRECATED: Use a copy of `EvalSymlinksConfig` and `EvalSymlinksFlow` instead.
1818
*
1919
* A taint-flow configuration tracking archive header fields flowing to a `path/filepath.EvalSymlinks` call.
2020
*/

go/ql/src/experimental/CWE-1004/AuthCookie.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ private module BoolToGinSetCookieTrackingConfig implements DataFlow::ConfigSig {
185185
module BoolToGinSetCookieTrackingFlow = DataFlow::Global<BoolToGinSetCookieTrackingConfig>;
186186

187187
/**
188-
* DEPRECATED: Use `NameToGinSetCookieTrackingConfig` instead.
188+
* DEPRECATED: Use `NameToGinSetCookieTrackingFlow` instead.
189189
*
190190
* A taint-tracking configuration for tracking flow from sensitive names to
191191
* `gin-gonic/gin.Context.SetCookie`.

0 commit comments

Comments
 (0)