/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

  • Committer: Teddy Hogeborn
  • Date: 2014-03-06 02:26:04 UTC
  • Revision ID: teddy@recompile.se-20140306022604-4uc43taz25cflgi3
Bug fix: Free all memory and give better messages when memory is full.

* plugin-runner.c (add_to_char_array): Bug fix: If realloc fails, do
                                       not change old array pointer.
  (add_environment): Bug fix: If realloc fails, do not change old
                     environment pointer.  Also rename "e" to "envdef"
                     for clarity.
  (main): Bug fix: If realloc fails, do not change old pointers.  Also
          wrap "#pragma GCC" with "#ifdef ___GNUC___".
* plugins.d/mandos-client.c (incbuffer): Bug fix: if realloc fails,
                                         free old buffer.
  (run_network_hooks): Moved variables "directory" and "ret" to their
                       innermost possible scope.
  (take_down_interface): Moved variables "sd", "ret_errno", and
                         "ret_setflags" to their innermost possible
                         scope.
  (main): Removed variable "interfaces_hooks_size".  Also, if argz_add
          fails when adding all found interfaces, the error message
          will now be correct.  Also print error message if, after
          having taken up an interface, argz_add fails to add
          interface to list of interfaces to be taken down.
* plugins.d/mandos-client.xml (OPTIONS): Explain better what "none"
                                         means as argument to
                                         "--interface" by negating
                                         sense.
* plugins.d/password-prompt.c (fprintf_plus): Removed (unused).
Filename Latest Rev Last Changed Committer Comment Size
..
askpass-fifo.c 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 4.9 KB Diff Download File
askpass-fifo.xml 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 4.9 KB Diff Download File
mandos-client.c 666 10 years ago Teddy Hogeborn Bug fix: Free all memory and give better messages 63.1 KB Diff Download File
mandos-client.xml 666 10 years ago Teddy Hogeborn Bug fix: Free all memory and give better messages 29 KB Diff Download File
password-prompt.c 666 10 years ago Teddy Hogeborn Bug fix: Free all memory and give better messages 13.9 KB Diff Download File
password-prompt.xml 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 9.5 KB Diff Download File
plymouth.c 626 11 years ago Teddy Hogeborn * Makefile (CFLAGS, LDFLAGS): Keep default flags f 12.5 KB Diff Download File
plymouth.xml 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 10.1 KB Diff Download File
splashy.c 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 11.6 KB Diff Download File
splashy.xml 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 10.2 KB Diff Download File
usplash.c 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 16.2 KB Diff Download File
usplash.xml 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 10.8 KB Diff Download File