opcodesio / log-viewer

Fast and beautiful Log Viewer for Laravel
https://log-viewer.opcodes.io
MIT License
3.39k stars 237 forks source link

Fix PCRE stack limit for context parsing, omitting preg #370

Closed essell closed 1 month ago

essell commented 1 month ago

369

Fixes issue with silent preg_match_all failure on parsing of long JSON contexts from log text, avoiding JIT Stack Limit due to recursion.

essell commented 1 month ago

Composer test passes, testing in Laravel project using log-viewer successful.

arukompas commented 1 month ago

@essell looks great! could not find a way to break it. Shipping it 🚢

arukompas commented 1 month ago

@essell tagged v3.9.0