--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: linux-base: Issue on func cdev_init.
- From: Corcodel Marian <corcodel.marian@gmail.com>
- Date: Sun, 31 Oct 2021 18:11:58 +0100
- Message-id: <163570031802.2859.493037293863282503.reportbug@debian>
Package: linux-base
Version: 4.6
Severity: normal
On file fs/char_dev.c function cdev_init old line is memset(cdev, 0, sizeof
*cdev); and new line can bee memset(cdev, 0, sizeof (struct cdev));
Allocation issue.
-- System Information:
Debian Release: 10.11
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable-proposed-updates'), (500, 'oldoldstable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.7.8+ (SMP w/2 CPU cores)
Kernel taint flags: TAINT_DIE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages linux-base depends on:
ii debconf [debconf-2.0] 1.5.71+deb10u1
linux-base recommends no packages.
linux-base suggests no packages.
-- debconf information excluded
--- End Message ---
--- Begin Message ---
- To: Corcodel Marian <corcodel.marian@gmail.com>, 998186-done@bugs.debian.org
- Subject: Re: Bug#998186: linux-base: Issue on func cdev_init.
- From: Salvatore Bonaccorso <carnil@debian.org>
- Date: Tue, 2 Nov 2021 07:49:23 +0100
- Message-id: <YYDfcxW3l7F3O6be@eldamar.lan>
- In-reply-to: <163570031802.2859.493037293863282503.reportbug@debian>
- References: <163570031802.2859.493037293863282503.reportbug@debian>
Control: reassign -1 src:linux
Control: tags -1 + upstream
Hi
On Sun, Oct 31, 2021 at 06:11:58PM +0100, Corcodel Marian wrote:
> Package: linux-base
> Version: 4.6
> Severity: normal
>
> On file fs/char_dev.c function cdev_init old line is memset(cdev, 0, sizeof
> *cdev); and new line can bee memset(cdev, 0, sizeof (struct cdev));
> Allocation issue.
Can you please report this directly to upstream. Right contact should
be
Alexander Viro <viro@zeniv.linux.org.uk> (maintainer:FILESYSTEMS (VFS and infrastructure))
linux-fsdevel@vger.kernel.org (open list:FILESYSTEMS (VFS and infrastructure))
linux-kernel@vger.kernel.org (open list)
Regards,
Salvatore
--- End Message ---