#VERIFICATION XENIAL

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                   0.12.2-1                                   
amd64        LPeg library for the Lua language

$ ./repro.lua
Segmentation fault (core dumped)

nmap segfaults too after a few runs:

$ count=1; while true; do nmap -sV 192.168.1.114 -Pn > /dev/null && 
((count+=1)) || break; done; echo $count
Segmentation fault (core dumped)
2


- With the version in -proposed the script works as expected:

$ dpkg -l | grep lua-lpeg
ii  lua-lpeg:amd64                   0.12.2-1ubuntu1                            
amd64        LPeg library for the Lua language

$ ./repro.lua
$ echo $?
0

nmap works (manually stopped):

$ count=1; while true; do nmap -sV 192.168.1.114 -Pn > /dev/null && 
((count+=1)) || break; done; echo $count
$ echo $count
179

** Tags removed: verification-needed verification-needed-bionic 
verification-needed-disco verification-needed-eoan verification-needed-xenial
** Tags added: verification-done verification-done-bionic 
verification-done-disco verification-done-eoan verification-done-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1580385

Title:
  /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lua-lpeg/+bug/1580385/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to