Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

match recent Makefile changes #7

Merged
merged 1 commit into from
Jul 8, 2019
Merged

match recent Makefile changes #7

merged 1 commit into from
Jul 8, 2019

Conversation

pmp-p
Copy link

@pmp-p pmp-p commented Jul 8, 2019

No description provided.

@embeddedt embeddedt merged commit a570a29 into lvgl:pmpp_test Jul 8, 2019
@pmp-p
Copy link
Author

pmp-p commented Jul 8, 2019

argh there's something wrong with MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE
when using frozen scripts.

@pmp-p pmp-p deleted the patch-14 branch July 8, 2019 14:31
amirgon pushed a commit to amirgon/lv_micropython that referenced this pull request Jun 15, 2021
asan considers that memcmp(p, q, N) is permitted to access N bytes at each
of p and q, even for values of p and q that have a difference earlier.
Accessing additional values is frequently done in practice, reading 4 or
more bytes from each input at a time for efficiency, so when completing
"non_exist<TAB>" in the repl, this causes a diagnostic:

    ==16938==ERROR: AddressSanitizer: global-buffer-overflow on
    address 0x555555cd8dc8 at pc 0x7ffff726457b bp 0x7fffffffda20 sp 0x7fff
    READ of size 9 at 0x555555cd8dc8 thread T0
        #0 0x7ffff726457a  (/usr/lib/x86_64-linux-gnu/libasan.so.5+0xb857a)
        lvgl#1 0x555555b0e82a in mp_repl_autocomplete ../../py/repl.c:301
        lvgl#2 0x555555c89585 in readline_process_char ../../lib/mp-readline/re
        lvgl#3 0x555555c8ac6e in readline ../../lib/mp-readline/readline.c:513
        lvgl#4 0x555555b8dcbd in do_repl /home/jepler/src/micropython/ports/uni
        lvgl#5 0x555555b90859 in main_ /home/jepler/src/micropython/ports/unix/
        lvgl#6 0x555555b90a3a in main /home/jepler/src/micropython/ports/unix/m
        lvgl#7 0x7ffff619a09a in __libc_start_main ../csu/libc-start.c:308
        lvgl#8 0x55555595fd69 in _start (/home/jepler/src/micropython/ports/uni

    0x555555cd8dc8 is located 0 bytes to the right of global variable
    'import_str' defined in '../../py/repl.c:285:23' (0x555555cd8dc0) of
    size 8
      'import_str' is ascii string 'import '

Signed-off-by: Jeff Epler <jepler@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants