MNBSD-2021-7: libcasper assertion failure when a standard descriptor is closed

Severity: Unknown

Affected Package: libcasper

Summary: libcasper assertion failure when a standard descriptor is closed

Description

libcasper(3) creates service processes by forking the calling process, so they initially inherit the caller's file descriptor table and expect the lowest three descriptors (standard input, output and error) to be redirected to /dev/null. libcasper(3) did not handle the possibility that one of them was closed, which would trigger an assertion failure during service creation, resulting in a crash.

Affected Versions

libcasper

Recommendations

No specific recommendations provided.

References

Additional Information

Aliases:

Published: June 29, 2021
Last Modified: June 29, 2021