mirror of
https://github.com/securego/gosec.git
synced 2024-12-25 03:55:54 +00:00
a018cf0fbb
* Added slice bounds testing for slice expressions. * Added checking slice index. * Added test for reassigning slice. * Store capacities on reslicing. * Scope change clears map. Func name used to track slices. * Map CallExpr to check bounds when passing to functions. * Fixed linter errors. * Updated rulelist with CWE mapping. * Added comment for NewSliceBoundCheck. * Addressed nil cap runtime error. * Replaced usage of nil in call arg map with dummy callexprs. * Updated comments, wrapped error return, addressed other review concerns. |
||
---|---|---|
.. | ||
archive.go | ||
bind.go | ||
blocklist.go | ||
decompression-bomb.go | ||
directory-traversal.go | ||
errors.go | ||
fileperms.go | ||
fileperms_test.go | ||
hardcoded_credentials.go | ||
http_serve.go | ||
implicit_aliasing.go | ||
integer_overflow.go | ||
math_big_rat.go | ||
pprof.go | ||
rand.go | ||
readfile.go | ||
rsa.go | ||
rulelist.go | ||
rules_suite_test.go | ||
rules_test.go | ||
slice_bounds.go | ||
slowloris.go | ||
sql.go | ||
ssh.go | ||
ssrf.go | ||
subproc.go | ||
tempfiles.go | ||
templates.go | ||
tls.go | ||
tls_config.go | ||
unsafe.go | ||
weakcrypto.go |