]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commit
wsdd: Securely parse the workgroup name
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 11 Jan 2024 15:11:53 +0000 (16:11 +0100)
committerDaniel Weismüller <daniel.weismueller@ipfire.org>
Thu, 11 Jan 2024 15:11:53 +0000 (16:11 +0100)
commit43c2dc9318f5733006388563468ba75e39e8d997
tree3e257d679fe3f8f5f6cde9ce71397e2300d2f800
parentbb88fd1b69ae27e9c14b97d219879627a473a3d2
wsdd: Securely parse the workgroup name

Because of a single variable being passwd with the workgroup, it would
have been possible to inject shell commands here. Passing it in the
array prevents that.

Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
src/initscripts/packages/wsdd