Commit Graph
18556 Commits
Author SHA1 Message Date
iceman1001 e5d5510b61 text 2024-05-15 09:37:44 +02:00
iceman1001 498af46fbf fix #2384 the use of free() is completely wrong as we use bigbuff allocations. Converted the old style to new and removed the dynamic allocation. 2024-05-15 09:36:31 +02:00
Iceman 2b276cae1a Merge pull request #2385 from henrygab/em4x70_add_tests
add `lf em 4x70 calc` and self-tests
2024-05-15 09:19:41 +02:00
Henry Gabryjelski f9dbe3fb6e Update CHANGELOG.md
Signed-off-by: Henry Gabryjelski <henrygab@users.noreply.github.com>
2024-05-14 21:34:43 -07:00
Henry Gabryjelski 20711e7037 Add em4x70 tests 2024-05-14 21:06:35 -07:00
Henry Gabryjelski f58992922d limit freen color to calculated values 2024-05-14 20:35:27 -07:00
Henry Gabryjelski 2757881945 functions should be static where possible 2024-05-14 20:22:30 -07:00
Henry Gabryjelski 2952d55904 Add lf em 4x70 calc 2024-05-14 20:21:42 -07:00
Henry Gabryjelski b7fff95b7c Improve editor folding (some editors use indentation as cue) 2024-05-14 19:16:37 -07:00
Henry Gabryjelski d27c084819 Internal code cleanup.
Reduce ambiguity in function and parameter names.
2024-05-14 19:16:05 -07:00
iceman1001 cacc1c1445 unused 2024-05-14 16:12:42 +02:00
iceman1001 cd1f935846 fix missing 2024-05-14 15:20:01 +02:00
iceman1001 b696c498b7 scope, const 2024-05-14 14:37:08 +02:00
iceman1001 5fd4d7e774 fix const param, bitwiseboolean 2024-05-14 14:29:30 +02:00
iceman1001 4bbfc944f3 fix const params, logic, casting 2024-05-14 14:13:13 +02:00
iceman1001 2d3e71d556 fix fct names, const params 2024-05-14 12:52:44 +02:00
iceman1001 bae6f5196f fix fct name mismatch 2024-05-14 12:42:08 +02:00
iceman1001 9535bd5a11 fix fct name mismatch 2024-05-14 12:41:22 +02:00
iceman1001 6f23b7f3eb fix fct name mismatch, const params, 2024-05-14 12:40:26 +02:00
iceman1001 f63ba3f31a fix fct name mismatch 2024-05-14 12:32:57 +02:00
iceman1001 5107b7ce04 fix fct names mismatch, const params, 2024-05-14 12:29:33 +02:00
iceman1001 2e2fa850bb const params, vars, scope, bad if statements 2024-05-14 12:25:00 +02:00
iceman1001 f3f647e6af fix const params, unused set vars 2024-05-14 12:04:03 +02:00
iceman1001 4aa8645a33 fixed order of checking 2024-05-14 12:00:19 +02:00
iceman1001 0096672d38 fix fct names and consts and bad if statement 2024-05-14 11:57:47 +02:00
iceman1001 a9a3c0bea9 const params 2024-05-14 11:45:36 +02:00
iceman1001 480d5a3241 array init 2024-05-14 11:26:16 +02:00
iceman1001 bf24c2b01f const params and init arrays 2024-05-14 11:23:33 +02:00
iceman1001 2c1f45f3aa fix const params and if statements 2024-05-14 11:20:36 +02:00
iceman1001 5ee9014e02 const 2024-05-14 11:10:50 +02:00
iceman1001 3430e20459 fix const params, lessen variable scope and fixing func arguments names 2024-05-14 11:10:12 +02:00
iceman1001 0963f51318 fix const params, lessen variable scope and fixing func arguments names 2024-05-14 11:04:41 +02:00
iceman1001 cb937a3f57 fix overwriting return value in one case 2024-05-14 10:59:10 +02:00
iceman1001 e3ceb2ffe4 const param 2024-05-14 10:10:44 +02:00
iceman1001 6abb217a18 fix shadowed variable 2024-05-14 10:10:12 +02:00
iceman1001 42f0699c78 style 2024-05-14 10:04:28 +02:00
iceman1001 72a11cfd89 Merge branch 'master' of github.com:RfidResearchGroup/proxmark3 2024-05-14 10:03:58 +02:00
iceman1001 dd94207ee8 fix bad compare 2024-05-14 10:02:10 +02:00
Iceman 6e938fa0c5 Merge pull request #2381 from Akury83/patch-1
Update to include USCUID-UL
2024-05-14 09:15:30 +02:00
Henry Gabryjelski 483b192d40 rename parameter for em4x70_receive
Avoid generic "length" parameters, as they are often ambiguous.

Prefer `byte_count`, `element_count`, `bit_count` or more explicit names to reduce misunderstandings and thus reduce bugs.
2024-05-13 10:19:00 -07:00
iceman1001 77db65a590 there were several memory leaks in hf 15 dump. Fixed by @jlitewski 2024-05-13 14:29:27 +02:00
iceman1001 11a298dc42 changed hf search to look for topaz first and commented out ICT code path 2024-05-13 11:12:27 +02:00
iceman1001 bbbe985111 when changing to 50 loops on device side, the felica reader code on client side timedout and it wasnt handled good enough so the return code was PM3_SUCCESS giving a false positive. Increase timeout, decrease loops to 25, and better loop handling of return value 2024-05-12 20:17:50 +02:00
iceman1001 3502da17df assert its smaller than 5 2024-05-12 19:36:28 +02:00
iceman1001 c50f109f05 the failed compiling on MINGW/proxspace warns over a overflow in buffer[5], the return value in utf8_check_first() can be 0 - 4, which used later in loop as index with 1 as start offset. a 4 will overflow the buffer[5]. Increased buffer with to just in case to support the zero terminator. Another option where this code will bail out is, 0 is goto out, 1 will trigger the assert and break client. A bit ruff I say. 2024-05-12 19:14:17 +02:00
Iceman d714902fc0 Merge pull request #2373 from jlitewski/marker-oob-fix
Fix OOB segfault with markers
2024-05-12 17:15:29 +02:00
Iceman fd445c7af1 Merge pull request #2378 from henrygab/em4x70_parity_break
Prevent sending corrupt data to em4x70 w/`--par` option
2024-05-12 17:14:20 +02:00
Iceman a627e6cc82 Merge branch 'master' into em4x70_parity_break
Signed-off-by: Iceman <iceman@iuse.se>
2024-05-12 17:13:24 +02:00
Iceman f9929be99a Merge pull request #2380 from henrygab/macos_action_python_install_fix
Fix Github Action builds
2024-05-12 17:04:46 +02:00
Iceman b72a44f5d1 Merge pull request #2375 from RunTheBot/patch-1
Added Presto Transit Card to aid_desfire.json
2024-05-12 17:03:25 +02:00