mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
md: Use a larger buffer for the ident string
With the old size, the string could easily be truncated, resulting in non-unique identifiers. PR: 287679 Reported by: Phil Krylov <phil@krylov.eu> Reviewed by: kib MFC after: 2 weeks
This commit is contained in:
parent
cd0169c937
commit
5286b96c56
1 changed files with 1 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ struct md_s {
|
|||
unsigned opencount;
|
||||
unsigned fwheads;
|
||||
unsigned fwsectors;
|
||||
char ident[32];
|
||||
char ident[DISK_IDENT_SIZE];
|
||||
unsigned flags;
|
||||
char name[20];
|
||||
struct proc *procp;
|
||||
|
|
|
|||
Loading…
Reference in a new issue