Tejun Heo wrote:
KSYM_NAME_LEN is peculiar in that it does not include the space for
the trailing '\0', forcing all users to use KSYM_NAME_LEN + 1 when
allocating buffer. This is nonsense and error-prone. Moreover, when
the caller forgets that it's very likely to subtly bite back by
corrupting
KSYM_NAME_LEN is peculiar in that it does not include the space for
the trailing '\0', forcing all users to use KSYM_NAME_LEN + 1 when
allocating buffer. This is nonsense and error-prone. Moreover, when
the caller forgets that it's very likely to subtly bite back by
corrupting the stack because
KSYM_NAME_LEN is peculiar in that it does not include the space for
the trailing '\0', forcing all users to use KSYM_NAME_LEN + 1 when
allocating buffer. This is nonsense and error-prone. Moreover, when
the caller forgets that it's very likely to subtly bite back by
corrupting the stack because
Tejun Heo wrote:
KSYM_NAME_LEN is peculiar in that it does not include the space for
the trailing '\0', forcing all users to use KSYM_NAME_LEN + 1 when
allocating buffer. This is nonsense and error-prone. Moreover, when
the caller forgets that it's very likely to subtly bite back by
corrupting
4 matches
Mail list logo