Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
devel:hw
:
x86:x86-common
>
mtools
> fix_mlabel_initialisation.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File fix_mlabel_initialisation.patch of Package mtools
Index: mtools-4.0.12/mlabel.c =================================================================== --- mtools-4.0.12.orig/mlabel.c +++ mtools-4.0.12/mlabel.c @@ -35,7 +35,7 @@ void label_name(doscp_t *cp, const char int have_lower, have_upper; wchar_t wbuffer[12]; - memset(ans, ' ', sizeof(ans)-1); + memset(ans, ' ', sizeof(*ans)-1); ans->sentinel = '\0'; len = native_to_wchar(filename, wbuffer, 11, 0, 0); if(len > 11){