diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2021-07-26 13:43:47 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-07-26 16:58:40 +0200 |
commit | 047677bb4b8a9273222048cef44bbc389bece932 (patch) | |
tree | ea5bc7f7eb7a94f3c250a188d17f9e70e83cb3b5 /src/main.c | |
parent | 8190c6f6df72f9c1d27bd19ebcdab76a5436aaa9 (diff) |
#1054 Fix og_legacy_partition code buffer size
The "code" member of the og_legacy_partition is used to hold the string of
the partition type *name* for legacy parameter strings. Example:
par=2*cpt=LINUX-SWAP*sfi=LINUX-SWAP*tam=10000000*ope=0
Problem: Buffer size is smaller than possible values for this member.
Fix: Increase buffer size up to the max length defined in the DB
for the corresponding column.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions