All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20101202045126.GA1784@bicker>

diff --git a/a/1.txt b/N1/1.txt
index 8ca7f2c..3f149e7 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -1,7 +1,7 @@
 On Fri, Nov 26, 2010 at 08:06:35PM +0300, Vasiliy Kulikov wrote:
 >  	count = n / sizeof(int);
-> -	if (count > LIRCBUF_SIZE || count % 2 = 0)
-> +	if (count > LIRCBUF_SIZE || count % 2 = 0 || n % sizeof(int) != 0)
+> -	if (count > LIRCBUF_SIZE || count % 2 == 0)
+> +	if (count > LIRCBUF_SIZE || count % 2 == 0 || n % sizeof(int) != 0)
                                                       ^^^^^^^^^^^^^^^^^^^^
 
 Wait, what?  We just checked this a couple lines before.
diff --git a/a/content_digest b/N1/content_digest
index a004246..08aca53 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,6 @@
- "ref\01290791197-21403-1-git-send-email-segoon@openwall.com\0"
  "From\0Dan Carpenter <error27@gmail.com>\0"
- "Subject\0Re: [PATCH] media: rc: ir-lirc-codec: fix potential integer\0"
- "Date\0Thu, 02 Dec 2010 04:51:26 +0000\0"
+ "Subject\0Re: [PATCH] media: rc: ir-lirc-codec: fix potential integer overflow\0"
+ "Date\0Thu, 2 Dec 2010 07:51:26 +0300\0"
  "To\0Vasiliy Kulikov <segoon@openwall.com>\0"
  "Cc\0kernel-janitors@vger.kernel.org"
   Mauro Carvalho Chehab <mchehab@infradead.org>
@@ -13,8 +12,8 @@
  "b\0"
  "On Fri, Nov 26, 2010 at 08:06:35PM +0300, Vasiliy Kulikov wrote:\n"
  ">  \tcount = n / sizeof(int);\n"
- "> -\tif (count > LIRCBUF_SIZE || count % 2 = 0)\n"
- "> +\tif (count > LIRCBUF_SIZE || count % 2 = 0 || n % sizeof(int) != 0)\n"
+ "> -\tif (count > LIRCBUF_SIZE || count % 2 == 0)\n"
+ "> +\tif (count > LIRCBUF_SIZE || count % 2 == 0 || n % sizeof(int) != 0)\n"
  "                                                      ^^^^^^^^^^^^^^^^^^^^\n"
  "\n"
  "Wait, what?  We just checked this a couple lines before.\n"
@@ -27,4 +26,4 @@
  "regards,\n"
  dan carpenter
 
-5219553c191f9d860e494a02d9e7e1c8aa44d08794b93dd726e4bc8fd4468d51
+460437557700f02467c95759fcc2a3cc4f1743f16a349ea54048cdfaba693b14

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.