commit | 54d50089ee526110e42e0f8399660a012d9c6c1b | [log] [tgz] |
---|---|---|
author | Ian McKellar <ianloic@google.com> | Fri Apr 11 15:41:00 2014 -0700 |
committer | Ian McKellar <ianloic@google.com> | Fri Apr 11 15:41:00 2014 -0700 |
tree | 188b4cf9ebadd9a62f03ef04e7b27f51bce72c4c | |
parent | 4f4892d00aab13975a8aed000f84ae0320355fd7 [diff] |
Check for null in LocalSocketImpl.SocketInputStream.available() Calling available() on a local socket after close() will cause a native crash. Other methods that pass LocalSocketImpl.fd to native code copy the fd and check for null. Change-Id: I2d0b573f34ae47a23009760bbb1c02933ab0a20e