From: Jim Meyering
we use strncpy to copy a model name of length up to 15 (16, if you count
the NUL), into a buffer of size 12 (BFA_FCS_PORT_SYMBNAME_MODEL_SZ).
However, strncpy does not always NUL-terminate, so whenever the original
model string has strlen >= 12, the following strncat re
Krishna Gudipati wrote:
>> -Original Message-
>> From: Jim Meyering [mailto:j...@meyering.net]
>> Sent: Monday, August 20, 2012 9:55 AM
>> To: linux-ker...@vger.kernel.org
>> Cc: Jim Meyering; Jing Huang; Krishna Gudipati; James E.J. Bottomley; linux-
>
Jim Meyering wrote:
> Krishna Gudipati wrote:
>>> -Original Message-
>>> From: Jim Meyering [mailto:j...@meyering.net]
>>> Sent: Monday, August 20, 2012 9:55 AM
>>> To: linux-ker...@vger.kernel.org
>>> Cc: Jim Meyering; Jing Huang; Kris
Jim Meyering wrote:
> Jim Meyering wrote:
>> Krishna Gudipati wrote:
>>>> -Original Message-
>>>> From: Jim Meyering [mailto:j...@meyering.net]
>>>> Sent: Monday, August 20, 2012 9:55 AM
>>>> To: linux-ker...@vger.kernel.org
>&
4 matches
Mail list logo