summaryrefslogtreecommitdiffhomepage
path: root/src/nodejs/unit-http/websocket_connection.js
diff options
context:
space:
mode:
authorAndrew Clayton <andrew@digital-domain.net>2022-06-15 16:20:01 +0100
committerAndrew Clayton <andrew@digital-domain.net>2022-07-18 12:45:06 +0100
commit58f78932716522bf47dbc185bd7e058dd7c2c7bb (patch)
tree1a6b8fedf9053ac3d302f488a4487fdbc13bf1d2 /src/nodejs/unit-http/websocket_connection.js
parent1a5288a9e2bf83414d601ca5e086eedeef164da4 (diff)
downloadunit-58f78932716522bf47dbc185bd7e058dd7c2c7bb.tar.gz
unit-58f78932716522bf47dbc185bd7e058dd7c2c7bb.tar.bz2
Router: avoided undefined behaviour.
In src/nxt_http_route_addr.c::nxt_http_route_addr_pattern_parse() there was potentially undefined behaviour when shifting a 32 bit value by 32 bits, this could happen if cidr_prefix was 0. Promote the shiftee to unsigned long long to avoid this issue.
Diffstat (limited to 'src/nodejs/unit-http/websocket_connection.js')
0 files changed, 0 insertions, 0 deletions