Skip to content

Commit

Permalink
Wrong line number in syscall.Setuid rule example
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Brown <eric.brown@securesauce.dev>
  • Loading branch information
ericwb committed Sep 15, 2024
1 parent 03f3bf2 commit 674b40d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions precli/rules/go/stdlib/syscall_setuid_root.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
## Examples
```go linenums="1" hl_lines="9" title="syscall_setuid_0.go"
```go linenums="1" hl_lines="11" title="syscall_setuid_0.go"
package main
import (
Expand Down Expand Up @@ -58,7 +58,7 @@
to avoid needing root privileges entirely. Consider utilizing a dedicated
service or capability that performs the task in a secure, controlled manner.
```go linenums="1" hl_lines="9" title="syscall_setuid_0.go"
```go linenums="1" hl_lines="11" title="syscall_setuid_0.go"
package main
import (
Expand Down

0 comments on commit 674b40d

Please sign in to comment.