Thread (14 messages) flat view 14 messages, 3 authors, 2004-02-14

Re: some bluetooth fixes

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2004-02-11 20:47:01
Also in: linux-bluetooth

Hi Andi,
+	if (req.conn_num * sizeof(*ci) > PAGE_SIZE * 2)
+		return -EINVAL;

This can still overflow. It should be 

	if (req.conn_num > (PAGE_SIZE * 2)/sizeof(*ci))
		return -EINVAL
thanks for reviewing the patch again. The fixed version is only attached
for control. It goes out to Dave in the next minutes.

Regards

Marcel

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help