summaryrefslogtreecommitdiff
path: root/fs/notify
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@canonical.com>2010-11-01 21:01:44 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2010-11-01 21:06:00 (GMT)
commit020e773f6b2e797a13d23723773ed1b3ba2c35dc (patch)
treed93471ca98f605e4e453405ad3f60ab35b8b0d96 /fs/notify
parente99d11d19977c74b18411cdb59cdebb788237a6e (diff)
downloadlinux-fsl-qoriq-020e773f6b2e797a13d23723773ed1b3ba2c35dc.tar.xz
kconfig: sym_expand_string_value: allow for string termination when reallocing
When expanding a parameterised string we may run out of space, this triggers a realloc. When computing the new allocation size we do not allow for the terminating '\0'. Allow for this when calculating the new length. Signed-off-by: Andy Whitcroft <apw@canonical.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/notify')
0 files changed, 0 insertions, 0 deletions