~ubuntu-branches/ubuntu/warty/libgksu1.2/warty

Viewing all changes in revision 2.

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2004-09-07 16:50:28 UTC
  • Revision ID: james.westby@ubuntu.com-20040907165028-7o439ofxqfdiyu0k
Tags: 1.2.2-1ubuntu1
* libgksu/gksu-context.c:gksu_context_sudo_run(): 
  - char buf[16] was repeatedly overflowed by reading/writing 256 bytes,
  causing segfaults and improper status messages; having two buffers 'buf'
  and 'buffer' with different lengths does not really avoid errors, so 'buf'
  was eliminated completely 
  - properly zero-terminated buffer before printf()'ing it
  (Closes: Warty bug #1060)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: