[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemacs-devel] Infinite loop in memfind
From: |
Jean-Philippe Menil |
Subject: |
[Qemacs-devel] Infinite loop in memfind |
Date: |
Fri, 30 Aug 2019 21:24:36 +0200 |
Hi,
seem that there's a infinite loop in memfind() in util.c.
It occur on:
526 if (c2 == s[i++] && i <= len)
It can be easily repeat, create a dump file without extensionm containing
the following shebang:
#!/usr/bin/python2
print(1)
For now, as a temporary workarounf, putting "python" keyword on the last
place in the .shell_handlers in extra-modes.c make it work correctly.
Best regards,
Jean-Phililppe
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemacs-devel] Infinite loop in memfind,
Jean-Philippe Menil <=