]> git.ipfire.org Git - thirdparty/hostap.git/commit
browser-wpadebug: Use execv() directly instead of os_exec()
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 21 Oct 2014 11:04:25 +0000 (14:04 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 21 Oct 2014 20:32:17 +0000 (23:32 +0300)
commitc94382259dc1d2977e3c8b0304eef3df18f4e0b0
tree5e50149015283dabae92f3f1085133b0c957e83e
parent22444bb2467ceeabe48c12b75ef2f6168a089b8c
browser-wpadebug: Use execv() directly instead of os_exec()

This allows the URL to be passed as a single argument to the program
instead of getting split into multiple by os_exec(). This makes the
operation more robust for cases where the URL could have been received
from an external source and could potentially add extra arguments to the
command line.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/utils/browser-wpadebug.c