Your message dated Wed, 07 Feb 2024 15:49:12 +0000
with message-id <[email protected]>
and subject line Bug#1008978: fixed in bacula 13.0.3-2
has caused the Debian Bug report #1008978,
regarding bsdjson segmentation fault
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.)


-- 
1008978: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008978
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bacula 
Version: 9.6.7-3 


Hi. 

Error message: bacula-sd: bsdjson.c:530-0 No Storage resource defined in /. 
Cannot continue. 05-апр 16:42 bacula-sd JobId 0: Error: bsdjson.c:530 No 
Storage resource defined in /. Cannot continue. bacula-sd: bsdjson.c:541-0 No 
Director resource defined in /. Cannot continue. 05-апр 16:42 bacula-sd JobId 
0: Error: bsdjson.c:541 No Director resource defined in /. Cannot continue. 
bacula-sd: bsdjson.c:546-0 No Device resource defined in /. Cannot continue. 
05-апр 16:42 bacula-sd JobId 0: Error: bsdjson.c:546 No Device resource defined 
in /. Cannot continue. 
Segmentation fault 

To reproduce the bug we just need to install bacula and type command 
"/usr/sbin/bsdjson /". This command will abort with "segmentation fault". In 
normal way it must finish without "Segmentation fault". 
System information: Linux debian 5.10.0-12-amd64 #1 SMP Debian 5.10.103-1 
(2022-03-07) x86_64 GNU/Linux 
libc-2.31.so 

CWE identifier for this bug: CWE-476 NULL Pointer Dereference 

Code fragment where bug appearance: 

I n some moments program bsdjson call function check_resources(bsdjson.c:521). 
In if(! me->messages ) ( file bsdjson . c : 551 ) and if(! 
me->working_directory) ( file bsdjson . c : 560 ) because of NULL Pointer 
Dereference appearance undefined program behavior. In this bug - «Segmentation 
fault» 

Way to fix this bug: 

Problem can be solved by correcting «if». For example: 

if( me && !me→messages) 

f( me && ! me->working_directory) 
Regards, 

Shahov Erik 

--- End Message ---
--- Begin Message ---
Source: bacula
Source-Version: 13.0.3-2
Done: Carsten Leonhardt <[email protected]>

We believe that the bug you reported is fixed in the latest version of
bacula, 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.
Carsten Leonhardt <[email protected]> (supplier of updated bacula 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: SHA512

Format: 1.8
Date: Wed, 07 Feb 2024 15:23:06 +0100
Source: bacula
Architecture: source
Version: 13.0.3-2
Distribution: unstable
Urgency: low
Maintainer: Debian Bacula Team <[email protected]>
Changed-By: Carsten Leonhardt <[email protected]>
Closes: 1008978 1052049
Changes:
 bacula (13.0.3-2) unstable; urgency=low
 .
   * Backport fix from upstream about old FD compatibility
   * Remove line with date, version etc. from default configs. This should
     result in ucf asking less questions on future updates.
   * README.Debian: Mention that large installation may want to use
     config-directories (Closes: #1052049)
   * Segmentation fault in bsdjson fixed by upstream in version 13.0.0
     (Closes: #1008978)
Checksums-Sha1:
 8e4bcf5aa1a41ac76da572a3e8a2bbd1f70909d3 3697 bacula_13.0.3-2.dsc
 e8af9763aa772da53a3cff149c66696077596757 110140 bacula_13.0.3-2.debian.tar.xz
Checksums-Sha256:
 242b2902a406e1b74fc3e92788156d47ed256ad8b863182a7e85c694d7eeb3d6 3697 
bacula_13.0.3-2.dsc
 ed72326490963e42079e0a31bbb5f60399732ad3ab39d73ef99b1070b09d6219 110140 
bacula_13.0.3-2.debian.tar.xz
Files:
 63b601f9a1fffc4fce6324cce3a14b0b 3697 admin optional bacula_13.0.3-2.dsc
 cc6b6ed695984982690ab053c42238f7 110140 admin optional 
bacula_13.0.3-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEETxO/995XSygF6EUmKrIctfbulV4FAmXDomgPHGxlb0BkZWJp
YW4ub3JnAAoJECqyHLX27pVefMUP/06EAvuQFUy+Y0ys12JiUpvNN71hBAMOZTlM
luyMHoxT098I8RpJ+1B4vRcgAmrVoXxil9cD/21BJQkJOkDXabjFjYUVBVNxBNFb
ci1rXuPPi2m57sA5jlxdVMwxqHO2x1S6JiXc+dSRLabLOV2nVs6FGS0clWGFzMuJ
vkhGdZnDcW6idEFkGnKt2fTPCYOq39sLU9pvePjJ7uZobXtVEiZN75d5Y9iqIF5b
93izs+PM6iTdR7vGZzez6x5Y4KkHbl9lc/OHo5vBTWn0YRKX/x7QJQXY48cK/v7W
OeQ0ZPv2QuwIWscx5jVqPkOrVXA9jo6IxnppslcJUI5c/M2feu+B2ufTN7s9J3oZ
0lIf+jfEiDGVAE/v7pQWrTtxxm3aIptDOUvA18LbcSpk1ZHLq7h/62KwTHT1RWVe
chfeG6u8QS8r8usRcOb8IfaRVC7eI5dvECpq68RJ4V9be1xnqv41RkcfrI6ZFt1R
a2+kNolpgvr6A4msxCdrirYkpYElL9c5QOsKPK1iXw0hsJx8nj8FQlQE2Pop3saL
nPJpxyJRjh6lFOSId8G2fd/tF/6Q0XGBgiNKUzQlWYqwUPV1vvmhjKijDrYD/2q6
DU0Htt0MsuwDh8bCTk8b/rjXkBhgoOgzdJIzmqpGtTU4XLOftm0MUk0B1G0/Ofqj
T6eLrvTr
=97nT
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to