k8snetworkplumbingwg / multus-cni

A CNI meta-plugin for multi-homed pods in Kubernetes
Apache License 2.0
2.29k stars 575 forks source link

Add filepath sanity check #1229

Closed s1061123 closed 5 months ago

s1061123 commented 5 months ago

Uses filepath.Abs() to check that paths passed in are truly absolute paths, and not garbage data (for example).

coveralls commented 5 months ago

Coverage Status

coverage: 63.603% (+0.5%) from 63.109% when pulling 748930239d6543875ab9a6efab15409be74b1512 on s1061123:fix/filepath into c5508266750712c42d1b766ebb0ec0990a726c4e on k8snetworkplumbingwg:master.