Giter Site home page Giter Site logo

Comments (8)

cweiske avatar cweiske commented on August 18, 2024

Which PHP version is that? I suspect an upgrade would help.

from geshi-1.0.

Basili0 avatar Basili0 commented on August 18, 2024

Using php5-fpm 5.6.20+dfsg-0+deb8u1.

from geshi-1.0.

cweiske avatar cweiske commented on August 18, 2024

ok, that's pretty recent.

It's still a PHP bug which needs to be reported to php.net with a small test case

from geshi-1.0.

Basili0 avatar Basili0 commented on August 18, 2024

Have also tried it on php 7.0.6-1~dotdeb+8.1 - that returned an empty result, which also is not a normal behaviour.

from geshi-1.0.

mermshaus avatar mermshaus commented on August 18, 2024

This is more or less a shot in the dark, but you could try increasing PCRE’s backtrack limit.

Issue #61 might be related to this.

from geshi-1.0.

Basili0 avatar Basili0 commented on August 18, 2024

Tried that as well, didn't help.
I totally do not understand why this regexp causes such a deep recursion. Moreover, I have tried it through other engines - for example, on regex101.com - and it does work. So it's more like a PCRE issue probably.
However, I'm still not convinced that such a complex regexp is really needed - mostly that's because I posted that here.

from geshi-1.0.

cweiske avatar cweiske commented on August 18, 2024

It's still a PHP bug which needs to be reported to php.net with a small test case

Nobody ever reported a bug to PHP, so this issue still exists. It will continue to exist if nobody reports the bug to PHP.

from geshi-1.0.

cweiske avatar cweiske commented on August 18, 2024

Since the problem is not in GeSHi itself but the pcre library, I'm closing this bug here.

If you care enough to open a bug report against PHP or libpcre, please link it here.

from geshi-1.0.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.