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 <iwt...@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)
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to