svn commit: r366722 - head/sys/compat/linprocfs

Edward Tomasz Napierala trasz at FreeBSD.org
Thu Oct 15 12:48:31 UTC 2020


Author: trasz
Date: Thu Oct 15 12:48:30 2020
New Revision: 366722
URL: https://svnweb.freebsd.org/changeset/base/366722

Log:
  With some popular multiplayer games (such as Counter-Strike: Global
  Offensive) the Linux Steam client likes to occasionally scan the game
  process memory, presumably as part anti-cheat measures. Turns out
  the client also expects each inode entry to be followed by a space
  character, otherwise the parsing code crashes.
  
  PR:		248216
  Submitted by:	Alex S <iwtcex at gmail.com>
  MFC after:	2 weeks

Modified:
  head/sys/compat/linprocfs/linprocfs.c

Modified: head/sys/compat/linprocfs/linprocfs.c
==============================================================================
--- head/sys/compat/linprocfs/linprocfs.c	Thu Oct 15 11:44:28 2020	(r366721)
+++ head/sys/compat/linprocfs/linprocfs.c	Thu Oct 15 12:48:30 2020	(r366722)
@@ -1249,7 +1249,7 @@ linprocfs_doprocmaps(PFS_FILL_ARGS)
 		    0,
 		    0,
 		    (u_long)ino,
-		    *name ? "     " : "",
+		    *name ? "     " : " ",
 		    name
 		    );
 		if (freename)


More information about the svn-src-head mailing list