HomeFreeBSD

backlight: check the lenght if the input before trimming '%'

Description

backlight: check the lenght if the input before trimming '%'

Reported by: hps
Reviewed by: manu
Differential Revision: https://reviews.freebsd.org/D26693

Details

Provenance
baptAuthored on
Reviewer
manu
Differential Revision
D26693: backlight: test lenght of argv before trying to trim '%'
Parents
rS366471: backlight: accept '%' in the brightness input value
Branches
Unknown
Tags
Unknown