diff options
author | Damien George <damien.p.george@gmail.com> | 2017-07-03 14:52:00 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-07-03 14:52:00 +1000 |
commit | b86c65d31c61af42a3b634c6a3150917509e3e8b (patch) | |
tree | af3cc988d8b1117c62f8c22f1430644325433966 /stmhal/pendsv.c | |
parent | 45b127e7ac95308b51364b22f174c8b15d1f8e89 (diff) | |
download | micropython-b86c65d31c61af42a3b634c6a3150917509e3e8b.tar.gz micropython-b86c65d31c61af42a3b634c6a3150917509e3e8b.zip |
extmod/modubinascii: Add check for empty buffer passed to hexlify.
Previous to this patch hexlify(b'', b':') would lead to a bad crash due to
the computed length of the result being -1=0xffffffff.
Diffstat (limited to 'stmhal/pendsv.c')
0 files changed, 0 insertions, 0 deletions