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_IMPORTAN

[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 tipc_link_x