Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1338114d authored by Al Viro's avatar Al Viro Committed by Matt Wagantall
Browse files

seq_file: always clear m->count when we free m->buf



Once we'd freed m->buf, m->count should become zero - we have no valid
contents reachable via m->buf.

Change-Id: I5a465c3a740c4fe097068ec30d2cea00aa4bb457
Reported-by: default avatarCharley (Hao Chuan) Chu <charley.chu@broadcom.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Git-commit: 801a76050bcf8d4e500eb8d048ff6265f37a61c8
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>
parent e27e7a0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment