Skip to content

Support hashing directories

Codacy Production / Codacy Static Code Analysis required action Oct 31, 2024 in 0s

14 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 14
           

See the complete overview on Codacy

Annotations

Check notice on line 76 in 3rd_party/cert_rehash/c_rehash.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

3rd_party/cert_rehash/c_rehash.hpp#L76

C-style pointer casting

Check notice on line 100 in 3rd_party/cert_rehash/c_rehash.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

3rd_party/cert_rehash/c_rehash.hpp#L100

C-style pointer casting

Check notice on line 128 in 3rd_party/cert_rehash/c_rehash.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

3rd_party/cert_rehash/c_rehash.hpp#L128

The scope of the variable 'ch' can be reduced.

Check notice on line 144 in 3rd_party/cert_rehash/c_rehash.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

3rd_party/cert_rehash/c_rehash.hpp#L144

Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).  

Check notice on line 163 in 3rd_party/cert_rehash/c_rehash.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

3rd_party/cert_rehash/c_rehash.hpp#L163

The scope of the variable 'x' can be reduced.

Check notice on line 166 in 3rd_party/cert_rehash/c_rehash.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

3rd_party/cert_rehash/c_rehash.hpp#L166

The scope of the variable 'digest' can be reduced.

Check notice on line 168 in 3rd_party/cert_rehash/c_rehash.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

3rd_party/cert_rehash/c_rehash.hpp#L168

The scope of the variable 'type' can be reduced.

Check notice on line 229 in 3rd_party/cert_rehash/c_rehash.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

3rd_party/cert_rehash/c_rehash.hpp#L229

Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).  

Check notice on line 232 in 3rd_party/cert_rehash/c_rehash.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

3rd_party/cert_rehash/c_rehash.hpp#L232

C-style pointer casting

Check notice on line 271 in 3rd_party/cert_rehash/c_rehash.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

3rd_party/cert_rehash/c_rehash.hpp#L271

Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).  

Check notice on line 276 in 3rd_party/cert_rehash/c_rehash.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

3rd_party/cert_rehash/c_rehash.hpp#L276

Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).  

Check notice on line 277 in 3rd_party/cert_rehash/c_rehash.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

3rd_party/cert_rehash/c_rehash.hpp#L277

Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).  

Check notice on line 286 in 3rd_party/cert_rehash/c_rehash.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

3rd_party/cert_rehash/c_rehash.hpp#L286

Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).  

Check notice on line 293 in 3rd_party/cert_rehash/c_rehash.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

3rd_party/cert_rehash/c_rehash.hpp#L293

Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).