~mysql/mysql-server/5.5

Viewing all changes in revision 4601.

  • Committer: Vamsikrishna Bhagi
  • Date: 2014-02-12 09:47:37 UTC
  • Revision ID: vamsikrishna.bhagi@oracle.com-20140212094737-tplfeo4ask3tai14
Bug #18186103  BUFFER OVERFLOW IN CLIENT

Problem: While printing the Server version, mysql client
         doesn't check for the buffer overflow in a
         String variable.

Solution: Used a different print function which checks the
          allocated length before writing into the string.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: