chkconfig crashes with a coredump when service name is longer than 174 characters

Solution In Progress - Updated -

Issue

  • chkconfig --add core dumps when service name is longer than 174 characters
  • chkconfig fails with a buffer overflow when it finds a service file with filename longer than 174 characters

Environment

RHEL 6, chkconfig-1.3.49.5-1.el6
RHEL 7, chkconfig-1.7.2-1.el7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content