diff options
author | Oisin Canty <o.canty@f5.com> | 2021-08-05 16:00:01 +0000 |
---|---|---|
committer | Oisin Canty <o.canty@f5.com> | 2021-08-05 16:00:01 +0000 |
commit | 60cf1399611ae1b2728492c94ff57a4a044774b4 (patch) | |
tree | 9ec34d4b8c018fcc46a24a42b8b4fd91618f5f1e /test/unit | |
parent | 44fe31dc6198e7a6fd752d6cdb7e51be73f6d8eb (diff) | |
download | unit-60cf1399611ae1b2728492c94ff57a4a044774b4.tar.gz unit-60cf1399611ae1b2728492c94ff57a4a044774b4.tar.bz2 |
Router: fixed crash when matching an empty address pattern array.
A crash would occur when the router tried to match an
against an empty address pattern array.
The following configuration was used to reproduce the
issue:
{
"listeners": {
"127.0.0.1:8082": {
"pass": "routes"
}
},
"routes": [
{
"match": {
"source": []
},
"action": {
"return": 200
}
}
]
}
Diffstat (limited to 'test/unit')
0 files changed, 0 insertions, 0 deletions