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: <CAJAFBLCJVLA7RwmVBUPobzqV+j5T5GoV=uRoRqUDuQkJn41Qpw@mail.gmail.com>
Date:	Thu, 28 Jul 2011 13:30:33 +0200
From:	Fubo Chen <fubo.chen@...il.com>
To:	linux-iscsi-target-dev@...glegroups.com
Cc:	target-devel <target-devel@...r.kernel.org>,
	linux-scsi <linux-scsi@...r.kernel.org>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	Christoph Hellwig <hch@....de>,
	Andy Grover <agrover@...hat.com>,
	Hannes Reinecke <hare@...e.de>,
	Roland Dreier <roland@...estorage.com>,
	James Bottomley <James.Bottomley@...senpartnership.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Nicholas Bellinger <nab@...ux-iscsi.org>
Subject: Re: [PATCH 12/13] iscsi-target: Add misc utility logic

On Sat, Jul 23, 2011 at 10:45 AM, Nicholas A. Bellinger
<nab@...ux-iscsi.org> wrote:
> +static int iscsit_do_rx_data(
> +       struct iscsi_conn *conn,
> +       struct iscsi_data_count *count)
> +{
> +       int data = count->data_length, rx_loop = 0, total_rx = 0, iov_len;
> +       u32 rx_marker_val[count->ss_marker_count], rx_marker_iov = 0;
> +       struct kvec iov[count->ss_iov_count], *iov_p;

How big can count->ss_iov_count be ? Can this make a stack overflow ?

Fubo.
--
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