Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1547707 > unrolled thread

Re: [PATCH v3] mach-omap2: fixing wrong strcat for Non-NULL terminated string

Started byTony Lindgren <tony@atomide.com>
First post2016-12-27 18:50 +0100
Last post2016-12-27 18:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v3] mach-omap2: fixing wrong strcat for Non-NULL  terminated string Tony Lindgren <tony@atomide.com> - 2016-12-27 18:50 +0100

#1547707 — Re: [PATCH v3] mach-omap2: fixing wrong strcat for Non-NULL terminated string

FromTony Lindgren <tony@atomide.com>
Date2016-12-27 18:50 +0100
SubjectRe: [PATCH v3] mach-omap2: fixing wrong strcat for Non-NULL terminated string
Message-ID<sT42R-56S-1@gated-at.bofh.it>
* Maninder Singh <maninder1.s@samsung.com> [161207 20:16]:
> Issue caught with static analysis tool:
> "Dangerous usage of 'name' (strncpy doesn't always 0-terminate it)"
> 
> Use strlcpy _includes_ the NUL terminator, and  strlcat() which ensures 
> that it won't overflow the buffer.

Applying into omap-for-v4.10/fixes thanks.

Tony

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web