mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-17 18:50:32 +08:00
mdu ndef error
Patch to stop buffer overflow on ndef read from card Typo fix in change log.
This commit is contained in:
parent
41f36199aa
commit
e0eeafe27f
2 changed files with 5 additions and 1 deletions
|
@ -3,7 +3,8 @@ 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...
|
||||
|
||||
## [unreleased][unreleased]
|
||||
- Changed spiffs write/apped to send in 8192 chucks to ensure its eraised (@mwalker)
|
||||
- Fixed buffer overflow in mfu ndef decode (@mwalker)
|
||||
- Changed spiffs write/append to send in 8192 chunks to ensure its eraised (@mwalker)
|
||||
- Fixed spiffs dump to ensure to fails correctly if no big_buff was allocated (@mwalker)
|
||||
- Change Client Makefile to respect global flags (@blshkv)
|
||||
- Change Makefile, honors global CC values (@blshkv)
|
||||
|
|
|
@ -4027,6 +4027,9 @@ int CmdHF14MfuNDEFRead(const char *Cmd) {
|
|||
}
|
||||
}
|
||||
|
||||
// The following read will read in blocks of 16 bytes.
|
||||
// ensure maxsize is rounded up to a multiple of 16
|
||||
maxsize = maxsize + (16 - (maxsize % 16));
|
||||
// allocate mem
|
||||
uint8_t *records = calloc(maxsize, sizeof(uint8_t));
|
||||
if (records == NULL) {
|
||||
|
|
Loading…
Reference in a new issue