[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some issues with the tree-sitter branch
From: |
Yuan Fu |
Subject: |
Re: Some issues with the tree-sitter branch |
Date: |
Mon, 17 Oct 2022 17:14:17 -0700 |
>
>> . 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?
Yuan
Re: Some issues with the tree-sitter branch, Yuan Fu, 2022/10/17
Re: Some issues with the tree-sitter branch,
Yuan Fu <=