diff for duplicates of <5187F8BD.1080900@cogentembedded.com> diff --git a/a/1.txt b/N1/1.txt index 9c7ece1..2fda409 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -19,10 +19,10 @@ On 06-05-2013 22:29, Dan Carpenter 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 db93c38..20a2ee3 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020130506182912.GB21347@elgon.mountain\0" "From\0Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>\0" "Subject\0Re: [patch 2/2] tipc: potential divide by zero in tipc_link_recv_fragment()\0" - "Date\0Mon, 06 May 2013 18:38:53 +0000\0" + "Date\0Mon, 06 May 2013 22:38:53 +0400\0" "To\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Cc\0Jon Maloy <jon.maloy@ericsson.com>" Allan Stephens <allan.stephens@windriver.com> @@ -32,10 +32,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" @@ -46,4 +46,4 @@ "\n" WBR, Sergei -654b91f521f2ef575625d75490a02c1911233a607a31faf8a4b5f68f81a40029 +47adbe265526a2d9cd54a24e7a5fc1c451d1ef0f4ae78f6e6aac7a92bb1274d3
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.