diff for duplicates of <20130506193117.GA11399@elgon.mountain> diff --git a/a/1.txt b/N1/1.txt index 2547ef4..67186e9 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -17,10 +17,10 @@ index 3a6064b3..de94493 100644 + 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 fda6b2d..84e2f23 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\05187F8BD.1080900@cogentembedded.com\0" "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch 2/2 v2] tipc: potential divide by zero in tipc_link_recv_fragment()\0" - "Date\0Mon, 06 May 2013 19:31:17 +0000\0" + "Date\0Mon, 6 May 2013 22:31:17 +0300\0" "To\0Jon Maloy <jon.maloy@ericsson.com>\0" "Cc\0Allan Stephens <allan.stephens@windriver.com>" David S. Miller <davem@davemloft.net> @@ -30,10 +30,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" @@ -42,4 +42,4 @@ " \t\tif (pbuf != NULL) {\n" " \t\t\tpbuf->next = *pending;" -3e2ceba93b621e2319bb50b342fb1b1b8d344876ac5c61c2a1a0928d6f2817d5 +62960e5aa0a2a13cdad59c0e607db6a8a378188cc67c1c76594d846515e7afb6
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.