aboutsummaryrefslogtreecommitdiffstats
path: root/lib/malloc/dynarray_finalize.c
diff options
context:
space:
mode:
authorEli Zaretskii2022-12-29 13:52:09 +0200
committerEli Zaretskii2022-12-29 13:52:09 +0200
commit706ed85285515e7047e16608815c1d02d4907b07 (patch)
tree49362a14e2f60b2715a8b2e1e97e11463a93fbd8 /lib/malloc/dynarray_finalize.c
parent38c35bf0f6a938001dfecbe439addf8fb62897c6 (diff)
downloademacs-706ed85285515e7047e16608815c1d02d4907b07.tar.gz
emacs-706ed85285515e7047e16608815c1d02d4907b07.zip
Avoid assertion violations in treesit.c with --enable-checking
* src/treesit.c (Ftreesit_node_first_child_for_pos) (Ftreesit_node_descendant_for_range): Check validity of buffer positions before converting them to byte-positions, to avoid assertion violations in buf_charpos_to_bytepos.
Diffstat (limited to 'lib/malloc/dynarray_finalize.c')
0 files changed, 0 insertions, 0 deletions