All of lore.kernel.org
 help / color / mirror / Atom feed
* Patch for 4.4.y+ stable kernels: (tracing: Use strlcpy() instead of strcpy() in __trace_find_cmdline())
@ 2017-06-19 11:06 Sumit Semwal
  2017-06-19 14:00 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Sumit Semwal @ 2017-06-19 11:06 UTC (permalink / raw)
  To: stable; +Cc: ameyt

Hello,

For all stable kernels since 4.4.y, please review

Upstream commit: e09e28671cda: tracing: Use strlcpy() instead of
strcpy() in __trace_find_cmdline()

This fixes a potential hole due to use of strcpy in a tracing function.

Best regards,
Sumit.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Patch for 4.4.y+ stable kernels: (tracing: Use strlcpy() instead of strcpy() in __trace_find_cmdline())
  2017-06-19 11:06 Patch for 4.4.y+ stable kernels: (tracing: Use strlcpy() instead of strcpy() in __trace_find_cmdline()) Sumit Semwal
@ 2017-06-19 14:00 ` Greg KH
  2017-06-19 14:09   ` Sumit Semwal
  0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2017-06-19 14:00 UTC (permalink / raw)
  To: Sumit Semwal; +Cc: stable, ameyt

On Mon, Jun 19, 2017 at 04:36:18PM +0530, Sumit Semwal wrote:
> Hello,
> 
> For all stable kernels since 4.4.y, please review
> 
> Upstream commit: e09e28671cda: tracing: Use strlcpy() instead of
> strcpy() in __trace_find_cmdline()
> 
> This fixes a potential hole due to use of strcpy in a tracing function.

{sigh}

No, it does not.  Please search the archives, we have been over this
many times already.

Also be sure to always cc: the developers and the maintainers of any
patch you ask to be submitted to the stable tree, that way they can
learn of the request, and possibly object to it, like Steven would have
done here...

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Patch for 4.4.y+ stable kernels: (tracing: Use strlcpy() instead of strcpy() in __trace_find_cmdline())
  2017-06-19 14:00 ` Greg KH
@ 2017-06-19 14:09   ` Sumit Semwal
  0 siblings, 0 replies; 3+ messages in thread
From: Sumit Semwal @ 2017-06-19 14:09 UTC (permalink / raw)
  To: Greg KH; +Cc: stable, ameyt

Hi Greg,

On 19 June 2017 at 19:30, Greg KH <gregkh@linuxfoundation.org> wrote:
> On Mon, Jun 19, 2017 at 04:36:18PM +0530, Sumit Semwal wrote:
>> Hello,
>>
>> For all stable kernels since 4.4.y, please review
>>
>> Upstream commit: e09e28671cda: tracing: Use strlcpy() instead of
>> strcpy() in __trace_find_cmdline()
>>
>> This fixes a potential hole due to use of strcpy in a tracing function.
>
> {sigh}
>
> No, it does not.  Please search the archives, we have been over this
> many times already.
Apologies, my bad - I should've seen Steven's response to the patch
(even though he's added it to mainline, he doesn't feel it is required
for stable) - I saw it got added to the mainline, and thought it was a
candidate.
>
> Also be sure to always cc: the developers and the maintainers of any
> patch you ask to be submitted to the stable tree, that way they can
> learn of the request, and possibly object to it, like Steven would have
> done here...
>
Right, I added the author, but managed to miss the maintainer ...

Thanks for pointing these out - two more things to add to my 'verify
the patch before sending to stable' list.

> greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-19 14:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-19 11:06 Patch for 4.4.y+ stable kernels: (tracing: Use strlcpy() instead of strcpy() in __trace_find_cmdline()) Sumit Semwal
2017-06-19 14:00 ` Greg KH
2017-06-19 14:09   ` Sumit Semwal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.