/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/changelog

  • Committer: teddy at recompile
  • Date: 2020-12-03 20:30:45 UTC
  • Revision ID: teddy@recompile.se-20201203203045-iqd6nq9y5nwalh1x
Minor fix of a test function

In dracut-module/password-agent, the test function
test_send_password_to_socket_EMSGSIZE() (which tests that the
send_password_to_socket() task function aborts properly when getting
EMSGSIZE when writing to the password socket), part of the test code
is supposed to find a message size which definitely does trigger
EMSGSIZE when send()ing to a socket.  Without a "break" in the proper
place, however, the size given is always exactly 1024 bytes too large.

This is very probably not a problem, since a too large message will
still be too large if it is increased by 1024 bytes, and send(2) in
practice checks the size before reading the buffer.  The biggest issue
would be if some version of send(2) would try to look at the last 1024
bytes of the message buffer before checking the message size; this
would then lead to a buffer over-read when running this test function.
(But even then there would be no security implications since the tests
are not run in the normal operation of the program.)

* dracut-module/password-agent.c
  (test_send_password_to_socket_EMSGSIZE): Break out early when ssret
  < 0 and errno == EMSGSIZE; don't allow loop to increase message_size
  again.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
mandos (1.8.13-1) unstable; urgency=medium
 
2
 
 
3
  * New upstream release.
 
4
  * Fix "password-agent autopkgtest does not seem to be reliable"
 
5
    by making the test more reliable (Closes: #975457)
 
6
  * debian/mandos-client.templates: Rename "_description" header to
 
7
    "_Description".
 
8
  * debian/control (Standards-Version): Change to "4.5.1".
 
9
 
 
10
 -- Teddy Hogeborn <teddy@recompile.se>  Mon, 30 Nov 2020 19:15:43 +0100
 
11
 
 
12
mandos (1.8.12-1) unstable; urgency=medium
 
13
 
 
14
  * New upstream release.
 
15
  * Fix "FTBFS with glibc 2.31 (uses removed stime function)" by using
 
16
    clock_settime() instead. (Closes: #964226)
 
17
  * debian/copyright: Update copyright year to 2020.
 
18
 
 
19
 -- Teddy Hogeborn <teddy@recompile.se>  Sat, 04 Jul 2020 14:58:26 +0200
 
20
 
 
21
mandos (1.8.11-1) unstable; urgency=medium
 
22
 
 
23
  * New upstream release.
 
24
 
 
25
 -- Teddy Hogeborn <teddy@recompile.se>  Wed, 08 Apr 2020 20:37:32 +0200
 
26
 
 
27
mandos (1.8.10-1) unstable; urgency=medium
 
28
 
 
29
  * Fix "[INTL:pt] Updated Portuguese translation - debconf messages"
 
30
    by including the contributed translation (Closes: #942595)
 
31
  * Fix "[INTL:nl] Dutch translation of debconf messages" by including the
 
32
    contributed translation (Closes: #946006)
 
33
  * Fix "flaky autopkgtest on arm64" by skipping the flaky test on
 
34
    non-amd64 (Closes: #953799)
 
35
  * debian/control (Standards-Version): Update to "4.5.0".
 
36
 
 
37
 -- Teddy Hogeborn <teddy@recompile.se>  Sat, 21 Mar 2020 17:45:01 +0100
 
38
 
 
39
mandos (1.8.9-2) unstable; urgency=medium
 
40
 
 
41
  * Fix failing autopkgtest.
 
42
  * debian/tests/control (mandos-check/Restrictions): Add "allow-stderr".
 
43
 
 
44
 -- Teddy Hogeborn <teddy@recompile.se>  Wed, 04 Sep 2019 23:14:06 +0200
 
45
 
 
46
mandos (1.8.9-1) unstable; urgency=medium
 
47
 
 
48
  * New upstream release.
 
49
  * Fix "Python2 removal in sid/bullseye" by using Python 3 instead
 
50
    (Closes: #936987)
 
51
  * debian/control (Build-Depends, Build-Depends-Indep): Move "systemd"
 
52
    from indep to regular build-depends.
 
53
    (Build-Depends-Indep, Package: mandos/Depends): Depend on Python 3 and
 
54
    Python 3 modules instead of Python 2.
 
55
 
 
56
 -- Teddy Hogeborn <teddy@recompile.se>  Tue, 03 Sep 2019 20:58:27 +0200
 
57
 
 
58
mandos (1.8.8-1) unstable; urgency=medium
 
59
 
 
60
  * New upstream release.
 
61
  * debian/po/de.po: New; Fix "[INTL:de] Initial German debconf
 
62
    translation" by including the contributed translation (Closes:
 
63
    #934373)
 
64
  * debian/po/fr.po: New; Fix "[INTL:fr] French debconf templates
 
65
    translation" by including the contributed translation (Closes:
 
66
    #934888)
 
67
  * debian/po/sv.po: New Swedish translation.
 
68
  * debian/mandos.postinst: Only reload D-Bus daemon if new user was
 
69
    created.
 
70
  * debian/mandos.dirs (usr/lib/sysusers.d): New.
 
71
  * debian/mandos-client.dirs (usr/lib/sysusers.d): - '' -
 
72
 
 
73
 -- Teddy Hogeborn <teddy@recompile.se>  Sun, 18 Aug 2019 22:01:13 +0200
 
74
 
 
75
mandos (1.8.7-1) unstable; urgency=medium
 
76
 
 
77
  * New upstream release.
 
78
  * debian/upstream/metadata: New.
 
79
  * debian/mandos-client.postrm: Use the same logic as the
 
80
    update_initramfs function in debian/mandos-client.postinst.
 
81
  * debian/mandos-client.templates (mandos-client/key_id): Line which
 
82
    should not be wrapped should be prefixed by a space.
 
83
  * debian/mandos.templates (mandos/key_id): - '' -
 
84
  * debian/po/en_US.po: New "translation" from ASCII to UTF-8.
 
85
  * debian/po/templates.pot: Updated.
 
86
  * debian/source/lintian-overrides
 
87
    (package-uses-old-debhelper-compat-version): New; set to "10".
 
88
  * debian/mandos-client.lintian-overrides
 
89
    (maintainer-script-supports-ancient-package-version): New.
 
90
    debian/mandos.lintian-overrides
 
91
    (maintainer-script-supports-ancient-package-version): - '' -
 
92
 
 
93
 -- Teddy Hogeborn <teddy@recompile.se>  Mon, 05 Aug 2019 23:22:00 +0200
 
94
 
 
95
mandos (1.8.6-1) unstable; urgency=medium
 
96
 
 
97
  * New upstream release.
 
98
  * Fix "mandos FTCBFS: hard codes build architecture pkg-config"
 
99
    by making pkg-config overridable (Closes: #933701)
 
100
  * debian/mandos.postinst (configure): After creating (or renaming) user
 
101
    & group, reload D-Bus daemon (if present).
 
102
 
 
103
 -- Teddy Hogeborn <teddy@recompile.se>  Sat, 03 Aug 2019 14:51:01 +0200
 
104
 
 
105
mandos (1.8.5-1) unstable; urgency=medium
 
106
 
 
107
  * New upstream release.
 
108
  * Fix "does not reap children" by reaping children (Closes: #933387)
 
109
  * debian/mandos-client.README.Debian: Use new-style interface name.
 
110
  * debian/tests/control: New file; implements autopkgtest support.
 
111
  * debian/mandos-client.lintian-overrides
 
112
    (manpage-has-errors-from-man): Remove; unnecessary.
 
113
  * debian/mandos.lintian-overrides
 
114
    (init.d-script-needs-depends-on-lsb-base): - '' -
 
115
  * debian/mandos-client.postinst (update_initramfs): Upstream now
 
116
    supports dracut(8), so update commands here to and run the correct
 
117
    command to update initramfs.
 
118
  * debian/control (Build-Depends): Add GLib -dev package.
 
119
    (mandos-client/Depends): Add dracut(8) as an alternative dependency to
 
120
    initramfs-tools.
 
121
    (mandos-client/Conflicts): New; set to "dracut-config-generic".
 
122
    (debian/mandos-client.README.Debian): Update for dracut(8) support.
 
123
  * debian/mandos-client.templates: Reflowed by debconf-gettextize(1).
 
124
  * debian/mandos.templates: - '' -
 
125
  * debian/po/POTFILES.in: New.
 
126
  * debian/po/templates.pot: - '' -
 
127
  * debian/source/lintian-overrides: New.
 
128
  * debian/control (Standards-Version): Update to "4.4.0".
 
129
 
 
130
 -- Teddy Hogeborn <teddy@recompile.se>  Tue, 30 Jul 2019 20:41:29 +0200
 
131
 
 
132
mandos (1.8.4-1) unstable; urgency=medium
 
133
 
 
134
  * Fix "dirs in initrd are not accessible by mandos plugin-runner" by
 
135
    making sure UMASK is set, no matter what other packages have installed
 
136
    in "/usr/share/initramfs-tools/conf-hooks.d". (Closes: #926641)
 
137
  * Fix "LeakSanitizer: detected memory leaks, fails to decrypt"
 
138
    by fixing memory leak in plugin-runner. (Closes: #926643)
 
139
  * debian/mandos-client.dirs: Add
 
140
    "usr/share/initramfs-tools/conf-hooks.d", needed by fix for #926641.
 
141
 
 
142
 -- Teddy Hogeborn <teddy@recompile.se>  Tue, 09 Apr 2019 22:05:39 +0200
 
143
 
 
144
mandos (1.8.3-3) unstable; urgency=medium
 
145
 
 
146
  * Fix "src:mandos: modifies d/control during build" by not doing that
 
147
    anymore.  (Closes: #922202)
 
148
  * debian/rules (override_dh_shlibdeps-arch): Commented out.
 
149
 
 
150
 -- Teddy Hogeborn <teddy@recompile.se>  Wed, 13 Feb 2019 09:52:39 +0100
 
151
 
1
152
mandos (1.8.3-2) unstable; urgency=medium
2
153
 
3
154
  * debian/rules (override_dh_shlibdeps-arch): New; conditionally edit