diff options
author | Joe Eykholt <jeykholt@cisco.com> | 2009-11-03 20:48:55 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 19:01:16 +0100 |
commit | 5f9a056db9c7973c46337ec8d034323aa72bf206 (patch) | |
tree | 2b61b80ddfcd82fc415856306b791b870e3544d2 /drivers/scsi/libfc/fc_elsct.c | |
parent | [SCSI] libfc: fix RNN_ID smashing skb payload (diff) | |
download | linux-5f9a056db9c7973c46337ec8d034323aa72bf206.tar.xz linux-5f9a056db9c7973c46337ec8d034323aa72bf206.zip |
[SCSI] libfc: fix symbolic name registrations smashing skb data
The strncpy for RSPN_ID and RSNN_NN requests was padding
past the allocated frame size.
Get the string length before filling in the ct header.
Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/libfc/fc_elsct.c')
0 files changed, 0 insertions, 0 deletions