Message ID | YDnf/cY4c0uOIcVd@zeniv-ca.linux.org.uk (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [git,pull] vfs.git misc stuff | expand |
On Fri, Feb 26, 2021 at 10:00 PM Al Viro <viro@zeniv.linux.org.uk> wrote: > > Al Viro (3): > 9p: fix misuse of sscanf() in v9fs_stat2inode() Hmm. Technically this changes some of the rules. It used to check that i tall fit in 32 bytes. Now there could be arbitrary spaces in there that pushes it over the limit. I don't think we care, but.. Linus
The pull request you sent on Sat, 27 Feb 2021 06:00:29 +0000:
> git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.misc
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/5ceabb6078b80a8544ba86d6ee523ad755ae6d5e
Thank you!
On Sat, Feb 27, 2021 at 08:21:55AM -0800, Linus Torvalds wrote: > On Fri, Feb 26, 2021 at 10:00 PM Al Viro <viro@zeniv.linux.org.uk> wrote: > > > > Al Viro (3): > > 9p: fix misuse of sscanf() in v9fs_stat2inode() > > Hmm. Technically this changes some of the rules. It used to check that > i tall fit in 32 bytes. Now there could be arbitrary spaces in there > that pushes it over the limit. > > I don't think we care, but.. I doubt that something was sending "HARDLINKCOUNT 123" *and* relying upon the truncation to have that parsed as 1 rather than 123...