MDEV-11896: thd_security_context - use snprintf to fill buffer with i…#328
MDEV-11896: thd_security_context - use snprintf to fill buffer with i…#328grooverdan wants to merge 1 commit intoMariaDB:5.5from
Conversation
…nformation Under string.append with insufficient space results in undefined behaviour, in this case a segfault. Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
|
Hi Daniel, Thanks for your contribution. JIRA task just for the record: https://jira.mariadb.org/browse/MDEV-11896 This task was added to 5.5 backlog, which hasn't been scheduled yet. Thanks, |
|
is there going to be another 5.5 - https://mariadb.com/kb/en/mariadb/mariadb-maintenance-policy/ list 11 April 2017 as the boundary? |
|
Stay tuned, it's being discussed. Probably we'll keep maintaining 5.5 as long as Oracle does or as long as distributions that have it are maintained. |
|
How does |
|
Not sure however the back trace and upstream bug shows it can happen. Is the snprintf a simplification? |
|
I don't think |
|
OK. Makes sense. FYI I looked at https://clang.llvm.org/docs/ThreadSafetyAnalysis.html which despite looking promising didn't work as expected. I raised some clang bug reports so I'll find out soon if its me or the implementation being wrong. |
…nformation
Under string.append with insufficient space results in undefined behaviour, in
this case a segfault.
I submit this under the MCA.