Details
-
Bug
-
Resolution: Done
-
P4: Low
-
4.8.5
-
None
-
Windows 7
-
ebc724986f4acf05c3425a7120ddc43d2eeb2515
Description
qaxbase.cpp, line 3150:
char *string_data = new char[stringdata.length()]; memset(string_data, 0, sizeof(string_data));
Did you mean
char *string_data = new char[stringdata.length()]; memset(string_data, 0, stringdata.length());
?
Attachments
For Gerrit Dashboard: QTBUG-34722 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
70831,1 | Active Qt: Remove invalid memset()-call. | 4.8 | qt/qt | Status: MERGED | +2 | 0 |