mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 13:00:42 -07:00
Fix truncated FPGA upload due to incorrect integer size variable
This commit is contained in:
parent
62b184ce49
commit
c5c0ef36a7
2 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
|
||||||
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
|
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
|
||||||
|
|
||||||
## [unreleased][unreleased]
|
## [unreleased][unreleased]
|
||||||
|
- Fixed truncated FPGA upload due to incorrect integer size variable (@d18c7db)
|
||||||
- Changed `usart btfactory` - handles the new BT board with version "BT SPP V3.0" (@iceman1001)
|
- Changed `usart btfactory` - handles the new BT board with version "BT SPP V3.0" (@iceman1001)
|
||||||
- Changed `hf mf eview --sk` - now can extract keys and save to file (@iceman1001)
|
- Changed `hf mf eview --sk` - now can extract keys and save to file (@iceman1001)
|
||||||
- Changed `hf mf view --sk` - now can extract keys and save to file (@iceman1001)
|
- Changed `hf mf view --sk` - now can extract keys and save to file (@iceman1001)
|
||||||
|
|
|
@ -393,7 +393,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++;
|
||||||
uint16_t current_length = 0;
|
uint32_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