mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
Fixing g_format_size_full() on Windows-x64
For some reasons, the buffer used in the Format struct was not long enough on Windows-x64 and the final null ('\0') character was omitted leading to a limited memory disclosure.
This commit is contained in:
parent
4f5fe35385
commit
101c8b3c19
@ -2300,7 +2300,7 @@ g_format_size_full (guint64 size,
|
||||
struct Format
|
||||
{
|
||||
guint64 factor;
|
||||
char string[9];
|
||||
char string[10];
|
||||
};
|
||||
|
||||
typedef enum
|
||||
|
Loading…
Reference in New Issue
Block a user