techee left a comment (geany/geany#4303)

To be clear, what I did in (2) isn't the right solution - what I think should 
happen is:
1. Harden MIO against invalid values - in this case, for `size <= -2` 
`mio_new_mio()`should return NULL. Possibly other MIO functions should be 
updated this way too.
2. In addition, MIO callers should check if they pass correct values to MIO and 
have a reasonable recovery path - in this case, e.g. call `mio_new_mio()` with 
`size=-1`.
3. Finally, fix the actual source of miscalculation (which I'm not sure whether 
it comes from the parser or ctags main).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4303#issuecomment-2927804740
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/4303/[email protected]>

Reply via email to