commit | 06e1831f194389b6f56ac016ebb52ed5cd430bb2 | [log] [tgz] |
---|---|---|
author | Selim Gurun <sgurun@google.com> | Mon Feb 27 15:58:54 2012 -0800 |
committer | Selim Gurun <sgurun@google.com> | Wed Mar 07 15:09:05 2012 -0800 |
tree | 1bae36f75baac7fd29c053323e6f17af609ec573 | |
parent | 83c366cf093b068da38e24e4ae4525c015ddde20 [diff] |
Prevent potential stall on dns proxy operations. Update wire protocol to return and process error code first. This will make sure dns proxy operations do not stall when an internal error happens. Also fix a compiler warning. Also fix a potential buffer overflow. And use correct types (uint32_t) rather than int when reading from network. Change-Id: I9f99c16d6fd5e9137491a4d1b293a7c78e31b9c3