summaryrefslogtreecommitdiffstatshomepage
path: root/py/parsenum.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-01-24 15:07:50 +0000
committerDamien George <damien.p.george@gmail.com>2015-01-24 15:07:50 +0000
commit23342c09ff9e7d5ead4905a4692e9646b4bbc2eb (patch)
treec21ed4a9d965fc760f59e570226f22f92f8b1fae /py/parsenum.c
parent91232d38505b47330351839b03fd8467c9843322 (diff)
downloadmicropython-23342c09ff9e7d5ead4905a4692e9646b4bbc2eb.tar.gz
micropython-23342c09ff9e7d5ead4905a4692e9646b4bbc2eb.zip
stmhal: Bug fix for usocket's accept and setsockopt methods.
accept might raise an exception, in which case the new socket is not fully created. It has a finaliser so will run close() method when GC'd. Before this patch close would try to close an invalid socket. Now fixed. setsockopt took address of stack value which became out of scope. Now fixed.
Diffstat (limited to 'py/parsenum.c')
0 files changed, 0 insertions, 0 deletions