Re: [PATCH 3/3] net: tipc: fix information leak to userland

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Vasiliy Kulikov
Date: Wednesday, November 10, 2010 - 8:54 am

On Wed, Nov 10, 2010 at 12:58 +0100, walter harms wrote:

With this code it is NOT a bug because the output buffer is much bigger
than 14 (128 bytes).  I think it was just designed to overflow 14 bytes,
assign sa_data[14] = 0 and ignore it (lack of snprintf() those days?).

Anywhere else sa_data[14] = ... is a bug.

-- 
Vasiliy
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 3/3] net: tipc: fix information leak to userland, Vasiliy Kulikov, (Wed Nov 10, 8:54 am)