/mandos/trunk

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

« back to all changes in this revision

Viewing changes to debian/mandos-client.README.Debian

  • Committer: Teddy Hogeborn
  • Date: 2014-06-14 23:43:07 UTC
  • Revision ID: teddy@recompile.se-20140614234307-i0mh9r2n4orkqtki
plugin-runner: Release memory and close FD's correctly in all cases.

* plugins.d/mandos-client.c (main): Init "direntries" to NULL.  Close
                                    "dir_fd" at fallback label.  Do
                                    not free "direntries" if
                                    scandirat() or scandir() failed.
                                    Do free(direntries) at fallback
                                    label.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
  is possible to verify that the correct password will be received by
17
17
  this client by running the command, on the client:
18
18
  
19
 
        MANDOSPLUGINHELPERDIR=/usr/lib/$(dpkg-architecture \
20
 
        -qDEB_HOST_MULTIARCH)/mandos/plugin-helpers \
21
19
        /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH \
22
20
        )/mandos/plugins.d/mandos-client \
23
21
                --pubkey=/etc/keys/mandos/pubkey.txt \
93
91
  work, "--options-for=mandos-client:--connect=<ADDRESS>:<PORT>" needs
94
92
  to be manually added to the file "/etc/mandos/plugin-runner.conf".
95
93
 
96
 
 -- Teddy Hogeborn <teddy@recompile.se>, Mon, 29 Jun 2015 18:17:41 +0200
 
94
 -- Teddy Hogeborn <teddy@recompile.se>, Mon, 28 Oct 2013 11:02:26 +0100