KissCount

KissCount Commit Details

Date:2015-06-19 18:51:27 (5 years 24 days ago)
Author:Grégory Soutadé
Branch:dev, master, qt5
Commit:7e5f13c445655e1c73e447141fe2a728b8cabbea
Parents: d310be1b6daa3e6aed2171960913d9720eac4bdc
Message:Fix a bug : Bad memcpy length in localtime_r() and gmtime_r()

Changes:
MChangeLog (2 diffs)
Msrc/win32/gmtime_r.cpp (2 diffs)

File differences

ChangeLog
1
1
22
33
44
......
77
88
99
10
1011
1112
1213
v0.5 (11/11/2014)
v0.5 (19/06/2015)
** User **
Add tag management
** Bugs **
Bug in generate month : if the next month has less days than the first, but there are operations on non existings days, use last day of new month.
Bad memcpy length in localtime_r() and gmtime_r()
v0.4 (26/02/2013)
** User **
src/win32/gmtime_r.cpp
3232
3333
3434
35
35
3636
3737
3838
......
4545
4646
4747
48
48
4949
5050
5151
if (local_result == NULL || result == NULL)
return NULL;
memcpy (result, local_result, sizeof (result));
memcpy (result, local_result, sizeof (*result));
return result;
}
if (local_result == NULL || result == NULL)
return NULL;
memcpy (result, local_result, sizeof (result));
memcpy (result, local_result, sizeof (*result));
return result;
}

Archive Download the corresponding diff file