1. 31 Oct, 2007 1 commit
    • Havoc Pennington's avatar
      Fix a problem where a nul byte was wrongly introduced into UUIDs, due to... · bef4260a
      Havoc Pennington authored
      Fix a problem where a nul byte was wrongly introduced into UUIDs, due to _dbus_string_copy_to_buffer weird behavior.
      
      2007-10-31  Havoc Pennington  <hp@redhat.com>
      
      	* bus/selinux.c (log_audit_callback): rewrite to use
      	_dbus_string_copy_to_buffer_with_nul()
      
      	* dbus/dbus-string.c (_dbus_string_copy_to_buffer): change to NOT
      	nul-terminate the buffer; fail an assertion if there is not enough
      	space in the target buffer. This fixes two bugs where
      	copy_to_buffer was used to copy the binary bytes in a UUID, where
      	nul termination did not make sense. Bug reported by David Castelow.
      	(_dbus_string_copy_to_buffer_with_nul): new function that always
      	nul-terminates the buffer, and fails an assertion if there is not
      	enough space in the buffer.
      bef4260a
  2. 23 Oct, 2007 1 commit
  3. 19 Oct, 2007 2 commits
  4. 16 Oct, 2007 1 commit
  5. 11 Oct, 2007 19 commits
  6. 10 Oct, 2007 7 commits
  7. 09 Oct, 2007 6 commits
  8. 03 Oct, 2007 3 commits