diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-10-28 00:01:46 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-10-28 00:01:46 +0300 |
commit | 38a9027fe54edcfc8157174a8ce575ed7acefa79 (patch) | |
tree | 32f08dbcc73e02d20e4b14bba884bc7197732cc8 /src/nxt_h1proto_websocket.c | |
parent | 00561a961f8c7727556271e424e1e425ac9a88ce (diff) | |
download | unit-38a9027fe54edcfc8157174a8ce575ed7acefa79.tar.gz unit-38a9027fe54edcfc8157174a8ce575ed7acefa79.tar.bz2 |
Router: checking a buffer before accessing its memory fields.
This fixes the router's crash on buildbot; the reason was an unexpected 'last'
response from the application to the router arriving before the response
headers. The last buffer is not a memory buffer, so the result of accessing
memory fields is unpredictable.
The unexpected 'last' message was caused by an error in libunit; fixed in
fee8fd855a00.
Diffstat (limited to 'src/nxt_h1proto_websocket.c')
0 files changed, 0 insertions, 0 deletions