summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorRuben Herold <ruben@puettmann.net>2026-08-13 14:57:03 +0200
committerChristian Breunig <christian@breunig.cc>2026-09-25 20:53:02 +0200
commitde934a295f177428969b95474aff717d95f02401 (patch)
tree3b28a2384b37a49e585a90bf18efa3c2065147b0 /python
parent5b6752c064c0313ae36a02bb36be1c8970958989 (diff)
downloadvyos-1x-de934a295f177428969b95474aff717d95f02401.tar.gz
vyos-1x-de934a295f177428969b95474aff717d95f02401.zip
firewall: T9205: also catch UnicodeDecodeError from cmdl() output
cmdl() decodes subprocess output as utf-8 and can raise UnicodeDecodeError (not an OSError subclass) if that fails, in addition to OSError on command failure. Catch both, closing a gap left by the exact-exception narrowing in the previous commit.
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions