summaryrefslogtreecommitdiffstats
path: root/api/src/glfs-internal.h
diff options
context:
space:
mode:
authorKinglong Mee <mijinlong@open-fs.com>2019-01-03 17:07:27 +0800
committerNiels de Vos <ndevos@redhat.com>2019-01-07 09:20:21 +0000
commitf99f51ca87fd8703947df985901cbce37bc6c818 (patch)
treed73157d36b80776bdcd4807d3ee7c4b308baf83a /api/src/glfs-internal.h
parenta9b0003c717087ff168bc143c70559162e53e0d5 (diff)
glfs-fops.c: fix the bad string length for snprintf
Snprintf reserves one byte for the ending '\0'. A NAME_MAX bytes d_name is truncated to NAME_MAX - 1 bytes. Change-Id: Ic884d18cee24360e55ddb896dc587b0b74ef97fe updates: bz#1193929 Signed-off-by: Kinglong Mee <mijinlong@open-fs.com>
Diffstat (limited to 'api/src/glfs-internal.h')
0 files changed, 0 insertions, 0 deletions