All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20190727155841.GA13586@host>

diff --git a/a/1.txt b/N1/1.txt
index 88e57ad..9f50b05 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -12,7 +12,7 @@ index 6d5bbd31db7f..a123282a4fcd 100644
 --- a/scripts/gcc-plugins/randomize_layout_plugin.c
 +++ b/scripts/gcc-plugins/randomize_layout_plugin.c
 @@ -443,13 +443,12 @@ static int is_pure_ops_struct(const_tree node)
- 		if (node == fieldtype)
+ 		if (node = fieldtype)
  			continue;
  
 -		if (!is_fptr(fieldtype))
@@ -20,7 +20,7 @@ index 6d5bbd31db7f..a123282a4fcd 100644
 -
 -		if (code != RECORD_TYPE && code != UNION_TYPE)
 -			continue;
-+		if (code == RECORD_TYPE || code == UNION_TYPE) {
++		if (code = RECORD_TYPE || code = UNION_TYPE) {
 +			if (!is_pure_ops_struct(fieldtype))
 +				return 0;
 +		}
diff --git a/a/content_digest b/N1/content_digest
index af0ebfc..98546b1 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Joonwon Kang <kjw1627@gmail.com>\0"
  "Subject\0[PATCH] randstruct: fix a bug in is_pure_ops_struct()\0"
- "Date\0Sun, 28 Jul 2019 00:58:41 +0900\0"
+ "Date\0Sat, 27 Jul 2019 15:58:41 +0000\0"
  "To\0keescook@chromium.org\0"
  "Cc\0re.emese@gmail.com"
   kernel-hardening@lists.openwall.com
@@ -22,7 +22,7 @@
  "--- a/scripts/gcc-plugins/randomize_layout_plugin.c\n"
  "+++ b/scripts/gcc-plugins/randomize_layout_plugin.c\n"
  "@@ -443,13 +443,12 @@ static int is_pure_ops_struct(const_tree node)\n"
- " \t\tif (node == fieldtype)\n"
+ " \t\tif (node = fieldtype)\n"
  " \t\t\tcontinue;\n"
  " \n"
  "-\t\tif (!is_fptr(fieldtype))\n"
@@ -30,7 +30,7 @@
  "-\n"
  "-\t\tif (code != RECORD_TYPE && code != UNION_TYPE)\n"
  "-\t\t\tcontinue;\n"
- "+\t\tif (code == RECORD_TYPE || code == UNION_TYPE) {\n"
+ "+\t\tif (code = RECORD_TYPE || code = UNION_TYPE) {\n"
  "+\t\t\tif (!is_pure_ops_struct(fieldtype))\n"
  "+\t\t\t\treturn 0;\n"
  "+\t\t}\n"
@@ -43,4 +43,4 @@
  "-- \n"
  2.17.1
 
-fdb538b966fa65a5d599d85b3cea4c7129df07ad9f791e3e132f68ad22a5a6af
+563d79f7455ea1a257d78e8fa3e7a05180d3310ea7efee5e0b677c8d06fc341f

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.