[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some issues with the tree-sitter branch
From: |
Eli Zaretskii |
Subject: |
Re: Some issues with the tree-sitter branch |
Date: |
Tue, 18 Oct 2022 19:11:23 +0300 |
> From: Yuan Fu <casouri@gmail.com>
> Date: Mon, 17 Oct 2022 17:14:17 -0700
> Cc: emacs-devel@gnu.org
>
>
> >
> >> . There's a call to malloc in Ftreesit_parser_set_included_ranges
> >> which doesn't check the return value of malloc, and doesn't signal
> >> memory-full error when malloc fails (that function should perhaps
> >> use SAFE_ALLOCA).
> >
> > I’ll fix that.
>
> Done. IIUC I just need to change malloc to xmalloc, right?
Yes, that's one way.