1
0
mirror of https://github.com/securego/gosec.git synced 2025-01-30 04:30:43 +02:00
bean.zhang a624254e39
Update hardcoded_credentials.go fix: adaper equal expr which const value at left (#917)
* Update hardcoded_credentials.go

adaper equal expr which const value at left.
```
if "Tr0ub4dour_UPL&&LOlo" == pwd
```

* Update hardcoded_credentials.go

check ident not equal nil

* adapter const == key hardcoded, add testcases
2023-01-31 09:52:37 +01:00
..
2020-06-29 13:52:47 +02:00
2022-01-03 18:11:35 +01:00
2022-06-23 14:58:13 +02:00
2022-07-26 11:08:43 +02:00