diff options
author | Moonchild <moonchild@palemoon.org> | 2021-04-20 13:12:38 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-04-20 13:12:38 +0000 |
commit | 5e705bd5059da5b7a39e3a096b7c7f59cb466730 (patch) | |
tree | be54a644000ba1eed6cc16e95b9bd40565be26f2 /dom/plugins/ipc/PluginProcessChild.cpp | |
parent | 88a34442a335ec13a35dfb4a69bcb35fb9440afe (diff) | |
download | uxp-5e705bd5059da5b7a39e3a096b7c7f59cb466730.tar.gz |
[Network] Solve type mismatch in AllowPort().
Casting it to an int16_t was wrong and would preclude the check for high port
numbers (due to overflow).
This makes the type matching, but adds an explicit check to ensure the port
number passed in is within a valid range.
Diffstat (limited to 'dom/plugins/ipc/PluginProcessChild.cpp')
0 files changed, 0 insertions, 0 deletions