]> git.ipfire.org Git - thirdparty/util-linux.git/commit
exec_shell: use xasprintf
authorThomas Weißschuh <thomas@t-8ch.de>
Sun, 24 Dec 2023 11:00:53 +0000 (12:00 +0100)
committerThomas Weißschuh <thomas@t-8ch.de>
Sun, 31 Dec 2023 12:04:23 +0000 (13:04 +0100)
commitb377f9ab15c87933281f6821819d7e43ac0d3b49
treead1ac6967cabfde173a842e308781d710078c0e0
parenta2126e3c95eca2296a77a7b573ca40c3fbdad7ab
exec_shell: use xasprintf

It removes an unbounded strcpy and makes the code shorter and clearer.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
lib/exec_shell.c