diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-08-08 11:36:06 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-08-22 17:52:22 -0500 |
commit | edced191e4512b7795380563634f4d44b21c684a (patch) | |
tree | 890c3863601cecdbce624eab70cc8e2e7dacf901 /net/decnet/dn_dev.c | |
parent | a2cf8a6306c89223d0ed35a7e9d40da99902e32a (diff) | |
download | linux-stable-edced191e4512b7795380563634f4d44b21c684a.tar.gz linux-stable-edced191e4512b7795380563634f4d44b21c684a.tar.bz2 linux-stable-edced191e4512b7795380563634f4d44b21c684a.zip |
[SCSI] nsp_cs: fix buf overflow
In nsp_cs_config there is a wrong struct nsp_cs_configdata allocation.
It allocates only sizeof(pointer to nsp_cs_configdata) for a whole
structure. Add a dereference to the sizeof to allocate
sizeof(nsp_cs_configdata).
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'net/decnet/dn_dev.c')
0 files changed, 0 insertions, 0 deletions