86daee
--- binutils.orig/gas/app.c	2017-03-23 13:03:54.762088334 +0000
86daee
+++ binutils-2.27/gas/app.c	2017-03-23 13:05:22.553922269 +0000
86daee
@@ -1187,7 +1187,7 @@ do_scrub_chars (size_t (*get) (char *, s
86daee
 		  state = -2;
86daee
 		  break;
86daee
 		}
86daee
-	      else
86daee
+	      else if (ch2 != EOF)
86daee
 		{
86daee
 		  UNGET (ch2);
86daee
 		}