summaryrefslogtreecommitdiff
path: root/lib/frrlua.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-01-24 07:52:55 -0500
committerDonald Sharp <sharpd@nvidia.com>2021-01-25 09:15:36 -0500
commit833c1f9fd14c4764b9f36f5e61c57130ff4f7118 (patch)
tree84a4b8b18f24ed6e839853bfc28fb591cdea3552 /lib/frrlua.h
parent8f17f6eb2db11cf8c93c47eda6eafc4981eeab29 (diff)
lib: Prevent possible memory overwrite
fname is MAXPATHLEN and scriptdir and fs->name are less then MAXPATHLEN but the combination of those two + the `.lua` are greater than the MAXPATHLEN. Just give us more room to prevent a coding boo boo. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/frrlua.h')
0 files changed, 0 insertions, 0 deletions