#VERIFICATION BIONIC
Running the following script:
$ cat repro.lua #!/usr/bin/env lua lpeg = require "lpeg"
p = lpeg.C(-lpeg.P{lpeg.P'x' * lpeg.V(1) + lpeg.P'y'}) p:match("xx")
- With the current version:
$ dpkg -l|grep lua-lpeg ii lua-lpeg:amd64 1.0.0-2 amd64 LPeg library for the Lua language
$ ./repro.lua Segmentation fault (core dumped)
In this case nmap works because it's using an old internal version of lua-lpeg (see comment #11)
- With the version in -proposed the script works as expected:
$ dpkg -l | grep lua-lpeg ii lua-lpeg:amd64 1.0.0-2ubuntu0.18.04.1 amd64 LPeg library for the Lua language $ ./repro.lua $ echo $? 0
#VERIFICATION BIONIC
Running the following script:
$ cat repro.lua
#!/usr/bin/env lua
lpeg = require "lpeg"
p = lpeg.C( -lpeg.P{ lpeg.P' x' * lpeg.V(1) + lpeg.P'y'})
p:match("xx")
- With the current version:
$ dpkg -l|grep lua-lpeg
ii lua-lpeg:amd64 1.0.0-2 amd64 LPeg library for the Lua language
$ ./repro.lua
Segmentation fault (core dumped)
In this case nmap works because it's using an old internal version of lua-lpeg (see comment #11)
- With the version in -proposed the script works as expected:
$ dpkg -l | grep lua-lpeg 18.04.1 amd64 LPeg library for the Lua language
ii lua-lpeg:amd64 1.0.0-2ubuntu0.
$ ./repro.lua
$ echo $?
0