RE: [PATCH] tipc: fix a potential missing-check bug

2018-05-01 Thread Jon Maloy
>; David S. Miller <da...@davemloft.net>; > open list:TIPC NETWORK LAYER <net...@vger.kernel.org>; open list:TIPC > NETWORK LAYER <tipc-discuss...@lists.sourceforge.net>; open list ker...@vger.kernel.org> > Subject: [PATCH] tipc: fix a potential missing-check bug > &g

RE: [PATCH] tipc: fix a potential missing-check bug

2018-05-01 Thread Jon Maloy
ker...@vger.kernel.org> > Subject: [PATCH] tipc: fix a potential missing-check bug > > In tipc_link_xmit(), the member field "len" of l->backlog[imp] must be less > than the member field "limit" of l->backlog[imp] when imp is equal to > TIPC_SYSTEM

[PATCH] tipc: fix a potential missing-check bug

2018-04-30 Thread Wenwen Wang
In tipc_link_xmit(), the member field "len" of l->backlog[imp] must be less than the member field "limit" of l->backlog[imp] when imp is equal to TIPC_SYSTEM_IMPORTANCE. Otherwise, an error code, i.e., -ENOBUFS, is returned. This is enforced by the security check. However, at the end of

[PATCH] tipc: fix a potential missing-check bug

2018-04-30 Thread Wenwen Wang
In tipc_link_xmit(), the member field "len" of l->backlog[imp] must be less than the member field "limit" of l->backlog[imp] when imp is equal to TIPC_SYSTEM_IMPORTANCE. Otherwise, an error code, i.e., -ENOBUFS, is returned. This is enforced by the security check. However, at the end of