mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
arm fpgaloader: Fix codeql warnings
This commit is contained in:
parent
dc17bb506a
commit
53671b127b
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ static int bitparse_find_section(int bitstream_version, char section_name, uint3
|
||||||
while (numbytes < MAX_FPGA_BIT_STREAM_HEADER_SEARCH) {
|
while (numbytes < MAX_FPGA_BIT_STREAM_HEADER_SEARCH) {
|
||||||
char current_name = get_from_fpga_stream(bitstream_version, compressed_fpga_stream, output_buffer);
|
char current_name = get_from_fpga_stream(bitstream_version, compressed_fpga_stream, output_buffer);
|
||||||
numbytes++;
|
numbytes++;
|
||||||
uint32_t current_length = 0;
|
uint16_t current_length = 0;
|
||||||
if (current_name < 'a' || current_name > 'e') {
|
if (current_name < 'a' || current_name > 'e') {
|
||||||
/* Strange section name, abort */
|
/* Strange section name, abort */
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue