]> git.armaanb.net Git - st.git/commit
Fix segmentation fault in strhandle()
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Thu, 23 Apr 2015 15:55:41 +0000 (17:55 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Thu, 23 Apr 2015 15:59:10 +0000 (17:59 +0200)
commit0d7448dabc981716d277a5afac22fabc127bacca
treeebc634a2e64727223ab7fe5d93b61286c6071b06
parentb17aa18f7c15be8db2afd62ac696b63c75755f1c
Fix segmentation fault in strhandle()

We cannot pass strescseq.args[0] to atoi when nargs is zero,
because in this case it will be null.
st.c