lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTim2CS71Kaoviwv5TFS_lLws__fYaK-HzNOytlML@mail.gmail.com>
Date:	Mon, 7 Jun 2010 10:16:44 +0800
From:	Frank Pan <frankpzh@...il.com>
To:	Jiri Slaby <jslaby@...e.cz>
Cc:	"Justin P. Mattock" <justinmattock@...il.com>,
	Greg KH <gregkh@...e.de>,
	Ortwin Glück <odi@....ch>,
	linux-kernel@...r.kernel.org, jirislaby@...il.com
Subject: Re: BUG kmalloc-4096: Poison overwritten (2.6.35-rc2)

>
> Does the patch below help?
>
> ---
>  drivers/char/vt.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/char/vt.c b/drivers/char/vt.c
> index 1296c42..e123958 100644
> --- a/drivers/char/vt.c
> +++ b/drivers/char/vt.c
> @@ -304,8 +304,8 @@ static void scrup(struct vc_data *vc, unsigned int t, unsigned int b, int nr)
>        d = (unsigned short *)(vc->vc_origin + vc->vc_size_row * t);
>        s = (unsigned short *)(vc->vc_origin + vc->vc_size_row * (t + nr));
>        scr_memmovew(d, s, (b - t - nr) * vc->vc_size_row);
> -       scr_memsetw(d + (b - t - nr) * vc->vc_size_row, vc->vc_video_erase_char,
> -                   vc->vc_size_row * nr);
> +       scr_memsetw((void *)d + (b - t - nr) * vc->vc_size_row,
> +                       vc->vc_video_erase_char, vc->vc_size_row * nr);
>  }
>
>  static void scrdown(struct vc_data *vc, unsigned int t, unsigned int b, int nr)
> --
> 1.7.1
>
>
>

This patch fixed the issue. That's my mistake, forgot d's type. Sorry for that.

-- 
Frank Pan

Computer Science and Technology
Tsinghua University
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ