Skip to content

Commit

Permalink
Remove unused variable in dummy
Browse files Browse the repository at this point in the history
  • Loading branch information
mschwager committed Feb 21, 2024
1 parent 39a7cf9 commit 137fc08
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ INFO: Seed: 2527961537
...
==45==ERROR: AddressSanitizer: heap-use-after-free on address 0x50c0009bab80 at pc 0xffff99ea1b44 bp 0xffffce8a67d0 sp 0xffffce8a67c8
...
SUMMARY: AddressSanitizer: heap-use-after-free /var/lib/gems/3.1.0/gems/ruzzy-0.6.0/ext/dummy/dummy.c:19:24 in _c_dummy_test_one_input
SUMMARY: AddressSanitizer: heap-use-after-free /var/lib/gems/3.1.0/gems/ruzzy-0.6.0/ext/dummy/dummy.c:18:24 in _c_dummy_test_one_input
...
==45==ABORTING
MS: 4 EraseBytes-CopyPart-CopyPart-ChangeBit-; base unit: 410e5346bca8ee150ffd507311dd85789f2e171e
Expand Down
1 change: 0 additions & 1 deletion ext/dummy/dummy.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
static int _c_dummy_test_one_input(const uint8_t *data, size_t size)
{
volatile char boom = 'x';
char test[] = {'a', 'b', 'c'};

if (size == 2) {
if (data[0] == 'H') {
Expand Down

0 comments on commit 137fc08

Please sign in to comment.