summaryrefslogtreecommitdiff
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@nvidia.com>2022-01-20 17:24:30 -0500
committerQuentin Young <qlyoung@nvidia.com>2022-01-24 11:13:28 -0500
commitd7073b211ae2085db32b830d055bf08bc205336a (patch)
tree17fe354577e530da7187c0f766c797fe6ece2702 /lib/lib_errors.c
parentc63f4b0ffdd1fd4c08f6ccc15fa3144a6cd4d4ea (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 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions