In my_MD5Final in mysys/md5.c, ctx is not properly zeroed as intended
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
|||
Percona Server moved to https://jira.percona.com/projects/PS |
Invalid
|
Undecided
|
Unassigned | ||
5.1 |
Fix Released
|
High
|
Laurynas Biveinis | ||
5.5 |
Fix Released
|
Undecided
|
Unassigned | ||
5.6 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
This is a copy of upstream http://
...
gcc -DDEFAULT_
md5.c: In function ‘my_MD5Final’:
md5.c:179:24: error: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Werror=
memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
Related branches
- Sergei Glushchenko (community): Approve (g2)
-
Diff: 71 lines (+6/-6)5 files modifiedPercona-Server/mysys/md5.c (+1/-1)
Percona-Server/sql/field.cc (+2/-2)
Percona-Server/storage/myisam/mi_checksum.c (+1/-2)
Percona-Server/storage/myisam/mi_key.c (+1/-1)
UDF/configure.ac (+1/-0)
tags: | added: ci low-hanging-fruit |
tags: | added: upstream |
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PS-3055