~maria-captains/maria/5.2

Viewing all changes in revision 2643.137.25.

  • Committer: Vladislav Vaintroub
  • Date: 2012-11-10 19:36:18 UTC
  • mto: (2643.137.36 maria-5.1)
  • mto: This revision was merged to the branch mainline in revision 3188.
  • Revision ID: wlad@montyprogram.com-20121110193618-qa3vv22u1yn5u26h
MDEV-3849 - 1 bytes stack overwrite in normalize_dirname().

Take into account that length of strings passed down to this function can be up to FN_REFLEN+1 bytes. including terminating zero.
The overwrite was caused by incomplete fix to MySQL Bug # 44834

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: