Bug #23179 invalid memset()
Submitted: 11 Oct 2006 15:45 Modified: 17 Nov 2006 9:53
Reporter: Arkadiusz Miskiewicz (Basic Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:trunk OS:
Assigned to: Mike Lischke CPU Architecture:Any

[11 Oct 2006 15:45] Arkadiusz Miskiewicz
Description:
http://svn.mysql.com/svnpublic/mysql-query-browser/trunk/library/source/myx_live_profiling...

contains:
memset(&addr, sizeof(struct sockaddr_in), 0);

How to repeat:
less that file.

Suggested fix:
Change it to:
memset(&addr, 0, sizeof(struct sockaddr_in));
[11 Oct 2006 18:40] Sveta Smirnova
Thank you for the report.

Verified as described.
[17 Nov 2006 9:53] Mike Lischke
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at

  http://www.mysql.com/downloads/