Since resize(( has two open parentheses, argument is computed to be until EOF and this causes the size not to be supported by x server and hence the crash. I've uploaded a patch to ignore if closing parantheses is not found. @wh11204 @ollydbg
Could you please review if this patch is ok as I'm not familiar with codecompletion plugin?
Also do you think we add some limits checks somewhere to avoid this kind of crashes due to unexpected size?
It fails also on Windows with the current trunk, but here it is recoverable just clicking on the editor.
The legacy code completion plugin is the culprit, it works if I remove this code:
Since resize(( has two open parentheses, argument is computed to be until EOF and this causes the size not to be supported by x server and hence the crash. I've uploaded a patch to ignore if closing parantheses is not found.
@wh11204
@ollydbg
Could you please review if this patch is ok as I'm not familiar with codecompletion plugin?
Also do you think we add some limits checks somewhere to avoid this kind of crashes due to unexpected size?
Last edit: Christo 2026-07-03
I missed completely the duplicated parentheses, good catch.
The patch looks good to me, except I would use TRACE() instead of fprintf().
Fixed in [r13883]
Related
Commit: [r13883]