Bug ID 1090636
Summary pgrep -P 1 seg.faults in containers
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Critical
Priority P5 - None
Component Basesystem
Assignee werner@suse.com
Reporter kukuk@suse.com
QA Contact qa-bugs@suse.de
CC fvogt@suse.com, rbrown@suse.com
Found By ---
Blocker ---

Start a opensuse/tumbleweed:latest container

Call "pgrep -P 1"

With procps 3.3.13, you get a seg.fault.
procps 3.3.12 did worked fine.

The problem is: opt_pattern is NULL, but in pgrep.c line 655, we use a strlen
without checking if opt_pattern is NULL, this leads to a crash.

This blocks openSUSE Kubic, where we use pgrep in Containers.

I think this change is broken:
"grep: warn about 15+ char name only if -f not used"


You are receiving this mail because: