diff options
author | Damien George <damien.p.george@gmail.com> | 2015-01-24 15:07:50 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-01-24 15:07:50 +0000 |
commit | 23342c09ff9e7d5ead4905a4692e9646b4bbc2eb (patch) | |
tree | c21ed4a9d965fc760f59e570226f22f92f8b1fae /py/parsenum.c | |
parent | 91232d38505b47330351839b03fd8467c9843322 (diff) | |
download | micropython-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