Your message dated Sat, 18 Feb 2023 22:11:52 +0000
with message-id <[email protected]>
and subject line Bug#986225: fixed in put-dns 0.0.2-6
has caused the Debian Bug report #986225,
regarding proto.c: Don't call "unlink()" with a "NULL" as an argument
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
986225: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986225
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: nn
Version: 6.7.3-14
Severity: normal
Tags: patch
Dear Maintainer,
>From dd06fa4749ec094ae075d192f966f38bc929e6a6 Mon Sep 17 00:00:00 2001
>From: Bjarni Ingi Gislason <[email protected]>
>Date: Thu, 1 Apr 2021 01:46:00 +0000
>Subject: [PATCH] proto.c: Don't call "unlink()" with a "NULL" as an argument
Shown by the "-fanalyzer" option:
proto.c:190:5: warning: use of NULL 'lock' where non-null expected [CWE-690]
[-Wanalyzer-null-argument]
190 | unlink(lock);
...
In file included from proto.c:14:
/usr/include/unistd.h:825:12: note: argument 1 of 'unlink' must be non-null
825 | extern int unlink (const char *__name) __THROW __nonnull ((1));
| ^~~~~~
Signed-off-by: Bjarni Ingi Gislason <[email protected]>
---
proto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proto.c b/proto.c
index 3a9e256..5e862c2 100644
--- a/proto.c
+++ b/proto.c
@@ -187,7 +187,7 @@ again:
/* wrong owner, ie. neither master or expire, so remove it */
rm_lock:
- unlink(lock);
+ if (lock != NULL) unlink(lock);
no_lock:
if (command != PL_SET && command != PL_SET_QUICK && command != PL_SET_WAIT)
--
2.30.2
-- System Information:
Debian Release: bullseye/sid
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.24-1 (SMP w/2 CPU threads)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1),
LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
-- debconf information excluded
--
Bjarni I. Gislason
--- End Message ---
--- Begin Message ---
Source: put-dns
Source-Version: 0.0.2-6
Done: John Lines <[email protected]>
We believe that the bug you reported is fixed in the latest version of
put-dns, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
John Lines <[email protected]> (supplier of updated put-dns package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 18 Feb 2023 21:32:28 +0000
Source: put-dns
Binary: put-dns
Architecture: source all
Version: 0.0.2-6
Distribution: unstable
Urgency: medium
Maintainer: John Lines <[email protected]>
Changed-By: John Lines <[email protected]>
Description:
put-dns - allows simplification of external DNS records
Closes: 986225 988373
Changes:
put-dns (0.0.2-6) unstable; urgency=medium
.
* Add Frecn debconf translation Closes:#986225
* Add Spanish debconf tranlastion Closes:#988373
Checksums-Sha1:
5d419501b4a90b36589076f6d7b4ca737b7f2bb3 1742 put-dns_0.0.2-6.dsc
9c6953e286d13ae24bcd11b154b2b8a6e3116aba 5636 put-dns_0.0.2-6.debian.tar.xz
e459979ee74f5e6dab38c622c82f01e97ab3d359 7496 put-dns_0.0.2-6_all.deb
f9f4a0b2ad176e55756294175d7d73b97287d654 6169 put-dns_0.0.2-6_amd64.buildinfo
Checksums-Sha256:
61990f7e0ec3dd7cd16a1c2b3bc8e3554391ef1e6a66455a2801ee345ab299f8 1742
put-dns_0.0.2-6.dsc
0070c4cf7b230392678c8a4872187b10dfeaa2600428953eb37fd491780bfc26 5636
put-dns_0.0.2-6.debian.tar.xz
04af909bf2c1f183af5f450045cba1ec76e25ec1ba5b6925f61715cb78320378 7496
put-dns_0.0.2-6_all.deb
c63946de9082cf780976b6bd05778f6216f359a2b859aa77a0e12ae77c255d3c 6169
put-dns_0.0.2-6_amd64.buildinfo
Files:
8036548fef9bed81811d8f74a448b973 1742 admin optional put-dns_0.0.2-6.dsc
43eaea62f363f342ce24f1a1c710229e 5636 admin optional
put-dns_0.0.2-6.debian.tar.xz
ae580d713d38b380eef6a8011e9e2fe7 7496 admin optional put-dns_0.0.2-6_all.deb
bf85fc5eedda2a38707f63ad2b2f3252 6169 admin optional
put-dns_0.0.2-6_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCAAvFiEEqH8J6LTFSJCxem30HxJlOZZGhecFAmPxREgRHGpvaG5AcGFs
YWR5bi5vcmcACgkQHxJlOZZGheepEg//f9OUxkHxfI0dY0c16AphcLfKDZ49xcqp
/05xGz7p4EEhRrWhigj0KkhsjJlAxtP/qDrArUXRR9n3IdRW/iHUN09Wi1lA70ns
Kw2pk6c8njnEytqHuH6pFwCHIWcJEBqj4mXyDXufxij8y6IAu25BJVa7Lz3f7Bcx
U9QiQWRP0OPTbEOWNptgPj88tru5eB1p9jfsPGUCjFkDhotArLCnxbHHvThN2wPJ
R+bLLmB+4dmx3CsxJ5rYI8n/SOCE0ay9usm/RPURN997FZ9e2s83bfBAxNByiRvh
DAWq6KFM608PawVSFvalIisRgjnWiqSWbKqRkhKji2AZjM5KErP+5myFl0ea+aqd
maZ2ZWw1yXHSEfBNHg1GjAfkB9yPvZ1lWk47owacBVZNs3HN/c+yyVYHzBKEycsf
UVU3eJ81n4lqN+OgpAZWIqFakkYEwx38W/V4B3LFmabM6ILD+52S+4e7CRFx2PJz
TjJrrffLZABM3syDTXt6sRWHnhh1uuowxkFHX47yote/C17wS35mldG2kDpHN5cw
IvtuuQq1RIoRkaBrzAu1tokD/tZ06eb+otYVNUJL5Ot/6qr+y72PoeuZojYFS7Lw
tdqwqPhSiV+PYgpzBF6ZyiGH0ru14s/1Do+1+P32EuH/sTCiDkvvKwpa8zqvi/QM
4BRM1gXmYT4=
=WIAF
-----END PGP SIGNATURE-----
--- End Message ---