Skip to contentSkip to conversation

lpfc 8.3.36: Correct buffer length overrun

PATCH New James Smart 1 participant 1 message Oct 31, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 5/7 lpfc 8.3.36: Correct buffer length overrun

Correct buffer length overrun

Reported via: https://bugzilla.kernel.org/show_bug.cgi?id=48871

---

 lpfc_init.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/lpfc/lpfc_init.c +1 -1
diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
@@ -3854,7 +3854,7 @@ static void
 lpfc_sli4_async_sli_evt(struct lpfc_hba *phba, struct lpfc_acqe_sli *acqe_sli)
 {
 	char port_name;
-	char message[80];
+	char message[128];
 	uint8_t status;
 	struct lpfc_acqe_misconfigured_event *misconfigured;