Christoph Probst 6a54b2e002 cifs: fix strcat buffer overflow and reduce raciness in smb21_set_oplock_level()
Change strcat to strncpy in the "None" case to fix a buffer overflow
when cinode->oplock is reset to 0 by another thread accessing the same
cinode. It is never valid to append "None" to any other message.

Consolidate multiple writes to cinode->oplock to reduce raciness.

Signed-off-by: Christoph Probst <kernel@probst.it>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
CC: Stable <stable@vger.kernel.org>
2019-05-07 23:24:55 -05:00
2019-05-07 18:14:36 -07:00
2019-05-07 19:06:04 -07:00
2019-05-01 22:43:26 -04:00
2019-05-07 19:06:04 -07:00
2019-05-07 18:14:36 -07:00
2019-05-07 18:48:09 -07:00
2019-05-07 19:06:04 -07:00
2019-05-07 18:02:51 -07:00
2019-05-07 18:14:36 -07:00
2019-05-06 17:54:22 -07:00
2019-04-21 23:18:44 +02:00
2019-03-06 14:18:59 -08:00
2019-03-10 17:48:21 -07:00
2019-05-07 18:48:09 -07:00
2019-05-07 12:44:49 -07:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
Linux kernel stable tree
Readme 6.1 GiB
Languages
C 97.5%
Assembly 1%
Shell 0.6%
Python 0.3%
Makefile 0.3%