Jim Meyering wrote:
> Brian C. Lane wrote:
>> diff --git a/libparted/labels/fdasd.c b/libparted/labels/fdasd.c
>>      int api;
>> -    char s[LINE_LENGTH];
>> +    char s[2*LINE_LENGTH];
>>
>>          struct stat st;
>>          if (fstat (f, &st) == 0 && S_ISREG (st.st_mode)) {
>
> Thank you for that patch.
> Sorry I didn't apply that sooner.
> I saw it for the first time only minutes ago.
>
> Subject: [PATCH] s390/dasd: avoid buffer overrun upon API mismatch diagnostic
>
> * libparted/labels/fdasd.c (fdasd_check_api_version): The static
> buffer for the error string was too small.  Double its length.
> This resolves http://bugzilla.redhat.com/693852

Pushed, finally.

_______________________________________________
bug-parted mailing list
bug-parted@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-parted

Reply via email to