HomeFreeBSD

pw: The pw_checkname function has added ';' checking.

Description

pw: The pw_checkname function has added ';' checking.

The pw_checkname function forgot to include a ';'
when checking usernames, causing shell commands
to be executed when a username with a ';' is deleted.

PR: 271427
MFC After: 3 days

(cherry picked from commit e0155c6989049da43c5499f7129002aa17d1ca79)

Details

Provenance
pbuff <pbuff@qq.com>Authored on May 16 2023, 3:05 AM
baptCommitted on May 19 2023, 8:10 AM
Parents
rGe31fbe0dff0c: periodic: Use locale-agnostic (ISO 8601) timestamp format
Branches
Unknown
Tags
Unknown