Make 'line' static to move it to .bss instead as that pattern is used
elsewhere in pw(8) (e.g. the static buffer in pw_pwcrypt).
Reported by: GCC -Wdangling-pointer
Differential D37534
pw: Don't return a pointer to an on-stack buffer from grp_set_passwd. jhb on Nov 29 2022, 7:50 PM. Authored by Tags None Referenced Files
Subscribers None
Details Make 'line' static to move it to .bss instead as that pattern is used Reported by: GCC -Wdangling-pointer
Diff Detail
|