diff options
| author | ShengYi Hung <aokblast@FreeBSD.org> | 2026-09-26 06:42:39 +0000 |
|---|---|---|
| committer | ShengYi Hung <aokblast@FreeBSD.org> | 2026-09-26 06:45:08 +0000 |
| commit | 228b1a011660ee1005bc4ab7c97113af8d87fe5c (patch) | |
| tree | 457ea491e36d7fe8f8a5ec131661a233023a7414 /gnu/usr.bin/cpio/doc | |
| parent | d8acc2a9a431b4d57ef79b2ca3113ecf33b95d8d (diff) | |
If userspace provides rate == 0, it causes kernel panic as rate is
directly used as a divident, which cannot be zero. Fix it by set the
rate to 1 if it is passed as 0.
Reviewed by: imp, emaste
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D59111
Diffstat (limited to 'gnu/usr.bin/cpio/doc')
0 files changed, 0 insertions, 0 deletions
