diff options
| author | Quentin Young <qlyoung@nvidia.com> | 2022-01-20 17:24:30 -0500 |
|---|---|---|
| committer | Quentin Young <qlyoung@nvidia.com> | 2022-01-24 11:13:28 -0500 |
| commit | d7073b211ae2085db32b830d055bf08bc205336a (patch) | |
| tree | 17fe354577e530da7187c0f766c797fe6ece2702 /zebra/interface.c | |
| parent | c63f4b0ffdd1fd4c08f6ccc15fa3144a6cd4d4ea (diff) | |
pimd: fix misuse of xpath buf size constants
XPATH_MAXLEN denotes the maximum length of an XPATH. It does not make
sense to allocate a buffer intended to contain an XPATH with a size
larger than the maximum allowable size of an XPATH. Consequently this PR
removes buffers that do this. Prints into these buffers are now checked
for overflow.
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
Diffstat (limited to 'zebra/interface.c')
0 files changed, 0 insertions, 0 deletions
