diff options
author | Phil Sutter <phil@nwl.cc> | 2021-03-10 19:46:08 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2021-11-30 14:57:46 +0100 |
commit | 4788869a3346b5b3f1f6a3cdb12fdf79da961ef9 (patch) | |
tree | 57fe6a5f430635106ba3dd63142284002690bcf9 /src/cli.c | |
parent | a4cd80fc44d6289239a6c89b20f9eb89680ce958 (diff) |
netlink_delinearize: Fix for escaped asterisk strings on Big Endian
The original nul-char detection was not functional on Big Endian.
Instead, go a simpler route by exporting the string and working on the
exported data to check for a nul-char and escape a trailing asterisk if
present. With the data export already happening in the caller, fold
escaped_string_wildcard_expr_alloc() into it as well.
Fixes: b851ba4731d9f ("src: add interface wildcard matching")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'src/cli.c')
0 files changed, 0 insertions, 0 deletions