[Webkit-unassigned] [Bug 203564] New: WEBKIT_WRAP_SOURCELIST does not escape filesystem paths when compiling regex

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 29 08:56:58 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=203564

            Bug ID: 203564
           Summary: WEBKIT_WRAP_SOURCELIST does not escape filesystem
                    paths when compiling regex
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: CMake
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at gnome.org
                CC: don.olmstead at sony.com

In order to test https://gitlab.gnome.org/GNOME/glib/issues/1379 I tried building WebKit in a build directory named "build++" instead of something more traditional like "build". It uncovered this bug in WEBKIT_WRAP_SOURCELIST:


-- Platform-specific CMakeLists not found: /home/mcatanzaro/Projects/WebKit/Source/bmalloc/PlatformGTK.cmake
RegularExpression::compile(): Nested *?+.
RegularExpression::compile(): Error in compile.
CMake Error at Source/cmake/WebKitMacros.cmake:130 (if):
  if given arguments:

    "NOT" "_file" "MATCHES" "/home/mcatanzaro/Projects/WebKit/build++/DerivedSources/WebCore"

  Regular expression
  "/home/mcatanzaro/Projects/WebKit/build++/DerivedSources/WebCore" cannot
  compile
Call Stack (most recent call first):
  Source/bmalloc/CMakeLists.txt:158 (WEBKIT_WRAP_SOURCELIST)


where the + characters from the filename are interpreted as if part of a regex. Presumably they should be escaped somehow.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191029/39b63d4b/attachment.htm>


More information about the webkit-unassigned mailing list