]> git.zerfleddert.de Git - proxmark3-svn/commit - client/comms.c
Fixes a double-free issue in CloseProxmark: (#617)
authorMichael Farrell <micolous+gh@gmail.com>
Mon, 4 Jun 2018 11:54:41 +0000 (21:54 +1000)
committerpwpiwi <pwpiwi@users.noreply.github.com>
Mon, 4 Jun 2018 11:54:41 +0000 (13:54 +0200)
commit2bb7f7e327df13f288b2b98a71bb390c516cc982
tree764c0d43e4f7c40c8e69ba5d51ba794a3b0b3e53
parentad939de5017f3451376d6f559858a30bae675964
Fixes a double-free issue in CloseProxmark: (#617)

- CloseProxmark now clears global state.

- CloseProxmark now checks for a non-null serial_port before calling uart_close, to avoid unintentional double-free'ing serial_port.

- main now calls CloseProxmark once.
client/comms.c
client/proxmark3.c
Impressum, Datenschutz