diff for duplicates of <20130506184946.GA1360@mwanda> diff --git a/a/1.txt b/N1/1.txt index a80a2fb..d137154 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -20,10 +20,10 @@ On Mon, May 06, 2013 at 10:38:53PM +0400, Sergei Shtylyov wrote: > >+ u32 exp_fragm_cnt; > > u32 max = TIPC_MAX_USER_MSG_SIZE + NAMED_H_SIZE; > >+ -> > if (msg_type(imsg) = TIPC_MCAST_MSG) +> > if (msg_type(imsg) == TIPC_MCAST_MSG) > > max = TIPC_MAX_USER_MSG_SIZE + MCAST_H_SIZE; > >- if (msg_size(imsg) > max) { -> >+ if (fragm_sz = 0 || msg_size(imsg) > max) { +> >+ if (fragm_sz == 0 || msg_size(imsg) > max) { > > kfree_skb(fbuf); > > return 0; > > } diff --git a/a/content_digest b/N1/content_digest index 3e60642..8e56198 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\05187F8BD.1080900@cogentembedded.com\0" "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0Re: [patch 2/2] tipc: potential divide by zero in tipc_link_recv_fragment()\0" - "Date\0Mon, 06 May 2013 18:49:46 +0000\0" + "Date\0Mon, 6 May 2013 21:49:46 +0300\0" "To\0Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>\0" "Cc\0Jon Maloy <jon.maloy@ericsson.com>" Allan Stephens <allan.stephens@windriver.com> @@ -34,10 +34,10 @@ "> >+\t\tu32 exp_fragm_cnt;\n" "> > \t\tu32 max = TIPC_MAX_USER_MSG_SIZE + NAMED_H_SIZE;\n" "> >+\n" - "> > \t\tif (msg_type(imsg) = TIPC_MCAST_MSG)\n" + "> > \t\tif (msg_type(imsg) == TIPC_MCAST_MSG)\n" "> > \t\t\tmax = TIPC_MAX_USER_MSG_SIZE + MCAST_H_SIZE;\n" "> >-\t\tif (msg_size(imsg) > max) {\n" - "> >+\t\tif (fragm_sz = 0 || msg_size(imsg) > max) {\n" + "> >+\t\tif (fragm_sz == 0 || msg_size(imsg) > max) {\n" "> > \t\t\tkfree_skb(fbuf);\n" "> > \t\t\treturn 0;\n" "> > \t\t}\n" @@ -51,4 +51,4 @@ "regards,\n" dan carpenter -297a1f95f136ee1f6995c9a8b5fd87594e72282bf92093ef77467f923f2d6bb0 +bb2b0138fe3f5c716e1afd7c2f463d3e57d2dd874820e278f18f0f0a4ea88453
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.