diff options
| author | Jakub Jankowski <[email protected]> | 2019-04-25 23:46:50 +0200 | 
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2019-05-06 00:36:17 +0200 | 
| commit | f5e85ce8e733c2547827f6268136b70b802eabdb (patch) | |
| tree | 53938cb6e125dbb15a2cda02814a44e816b2cfd8 /tools/perf/scripts/python | |
| parent | 33cc3c0cfa64c86b6c4bbee86997aea638534931 (diff) | |
netfilter: nf_conntrack_h323: restore boundary check correctness
Since commit bc7d811ace4a ("netfilter: nf_ct_h323: Convert
CHECK_BOUND macro to function"), NAT traversal for H.323
doesn't work, failing to parse H323-UserInformation.
nf_h323_error_boundary() compares contents of the bitstring,
not the addresses, preventing valid H.323 packets from being
conntrack'd.
This looks like an oversight from when CHECK_BOUND macro was
converted to a function.
To fix it, stop dereferencing bs->cur and bs->end.
Fixes: bc7d811ace4a ("netfilter: nf_ct_h323: Convert CHECK_BOUND macro to function")
Signed-off-by: Jakub Jankowski <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions