1. 07 Feb, 2006 6 commits
  2. 06 Feb, 2006 1 commit
  3. 05 Feb, 2006 1 commit
  4. 03 Feb, 2006 2 commits
  5. 01 Feb, 2006 2 commits
  6. 31 Jan, 2006 3 commits
  7. 30 Jan, 2006 4 commits
  8. 27 Jan, 2006 7 commits
  9. 26 Jan, 2006 6 commits
  10. 25 Jan, 2006 4 commits
  11. 24 Jan, 2006 3 commits
  12. 23 Jan, 2006 1 commit
    • evgen@moonbone.local's avatar
      Fixed bug #16510: Updating field named like '*name' caused server crash. · b1967ad7
      evgen@moonbone.local authored
      When setup_fields() function finds field named '*' it expands it to the list
      of all table fields. It does so by checking that the first char of
      field_name is '*', but it doesn't checks that the '* is the only char.
      Due to this, when updating table with a field named like '*name', such field
      is wrongly treated as '*' and expanded. This leads to making list of fields
      to update being longer than list of the new values. Later, the fill_record() 
      function crashes by dereferencing null when there is left fields to update,
      but no more values.
      
      Added check in the setup_fields() function which ensures that the field
      expanding will be done only when '*' is the only char in the field name.
      b1967ad7