1. 03 Aug, 2006 1 commit
    • svoj@may.pils.ru's avatar
      BUG#7391 - Cross-database multi-table UPDATE uses active database · 67db270c
      svoj@may.pils.ru authored
                 privileges
      
      This problem is 4.1 specific. It doesn't affect 4.0 and was fixed
      in 5.x before.
      
      Having any mysql user who is allowed to issue multi table update
      statement and any column/table grants, allows this user to update
      any table on a server (mysql grant tables are not exception).
      
      check_grant() accepts number of tables (in table list) to be checked
      in 5-th param. While checking grants for multi table update, number
      of tables must be 1. It must never be 0 (actually we have
      DBUG_ASSERT(number > 0) in 5.x in grant_check() function).
      67db270c
  2. 26 Jul, 2006 1 commit
    • kroki/tomash@moonlight.intranet's avatar
      BUG#21206: memory corruption when too many cursors are opened at once · 4e845ccc
      kroki/tomash@moonlight.intranet authored
      Too many cursors (more than 1024) could lead to memory corruption.
      This affects both, stored routines and C API cursors, and the
      threshold is per-server, not per-connection.  Similarly, the
      corruption could happen when the server was under heavy load
      (executing more than 1024 simultaneous complex queries), and this is
      the reason why this bug is fixed in 4.1, which doesn't support
      cursors.
      
      The corruption was caused by a bug in the temporary tables code, when
      an attempt to create a table could lead to a write beyond allocated
      space.  Note, that only internal tables were affected (the tables
      created internally by the server to resolve the query), not tables
      created with CREATE TEMPORARY TABLE.  Another pre-condition for the
      bug is TRUE value of --temp-pool startup option, which, however, is a
      default.
      
      The cause of a bug was that random memory was overwritten in
      bitmap_set_next() due to out-of-bound memory access.
      4e845ccc
  3. 24 Jul, 2006 5 commits
  4. 23 Jul, 2006 1 commit
  5. 20 Jul, 2006 1 commit
  6. 19 Jul, 2006 2 commits
  7. 18 Jul, 2006 3 commits
  8. 17 Jul, 2006 2 commits
  9. 15 Jul, 2006 1 commit
  10. 14 Jul, 2006 5 commits
  11. 13 Jul, 2006 6 commits
  12. 12 Jul, 2006 4 commits
  13. 11 Jul, 2006 8 commits