[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1032223: marked as done (fbb: Segmentation fault when listing subdirectories using FBBDOS)



Your message dated Sun, 05 Mar 2023 18:33:57 +0000
with message-id <E1pYtBF-002sNs-6d@fasolo.debian.org>
and subject line Bug#1032223: fixed in fbb 7.011-2
has caused the Debian Bug report #1032223,
regarding fbb: Segmentation fault when listing subdirectories using FBBDOS
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 owner@bugs.debian.org
immediately.)


-- 
1032223: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1032223
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: fbb
Version: 7.011-1
Severity: normal
X-Debbugs-Cc: mike@elite.uk.com

Dear Maintainer,

I've run into a crash bug when using the FBBDOS feature of fbb.

Using the 'DIR' command to list files works in FBBDOS's root directory.
If any non-empty subdirectory is entered with the 'CD' command, as subsequent
'DIR' will crash fbb.

Additionally, where 'DIR' does work, the file sizes and date stamps are wrong.

---
01-Mar-23 22:52  FBBDOS V7.0.11

Format :
(1)        = (1 connected station)
[543/0kb] = [downloaded 543kb until now/max allowed 0kb] in this period
C:\>       = drive and path (like in MSDOS)

(1) [543/0kb] C:\>dir
       8 11-10-59 changelog.Debian
 524158 M 11-02-20 yapp
25734537216 bytes free.

(1) [543/0kb] C:\>cd yapp

(1) [543/0kb] C:\yapp>dir
---

Running xfbbd in gdb produced the following:

---
Program received signal SIGSEGV, Segmentation fault.
0x000000555558e9d4 in format_ffblk (blk=blk@entry=0x55556be050, dir=dir@entry=0x5555747de8) at ./src/ibm.c:232
232			year = tm->tm_year %100;

(gdb) backtrace -full 1
#0  0x000000555558e9d4 in format_ffblk (blk=blk@entry=0x55556be050, dir=dir@entry=0x5555747de8) at ./src/ibm.c:232
        year = <optimized out>
        st = {st_dev = 366505350216, st_ino = 366504693376, st_mode = 4294963176, st_nlink = 127, st_uid = 4294963179, st_gid = 127, st_rdev = 549755810520, __pad1 = 549755810476, st_size = 8, st_blksize = -48, __pad2 = -128, st_blocks = 366504644080, st_atim = {tv_sec = 3636763555512022575, tv_nsec = 7090406762945589045}, st_mtim = {tv_sec = 7023696974707647586, tv_nsec = -1098803875728}, st_ctim = {tv_sec = 549683298305, tv_nsec = 366504662168}, __glibc_reserved = {1432442871, 85}}
        tm = 0x0
        base = "\222TaUU\000\000\000\222TaUU\000\000\000\222TaUU\000\000\000\222TaUU\000\000\000\367WaUU\000\000\000\260\353\377\377\177\000\000\000l\360\334\367\177\000\000\000\000\000\356\367\177\000\000\000`\307\376\367\177\000\000\000\060\200\000\000\000\000\000\000X\000\000\000\000\000\000\000\000`\356\367\177\000\000\000\270\307\376\367\177\000\000\000\330\362\377\377\177\000\000\000\254\362\377\377\177\000\000\000\b\000\000\000\000\000\000", <incomplete sequence \350>
        ext = "\222TaU"
        filename = "/var/ax25/fbb/fbbdos//yapp/test\000\360\353\377\377\177\000\000\000\064D\337\367\177\000\000\000\n\000\000\000\000\000\000\000\000\200\000\000\000\000\000\000X\340kUU\000\000\000\070\360\377\377\177\000\000\000\350\357\377\377\177\000\000\000\353\357\377\377\177\000\000\000\240\354\377\377\177\000\000\000P\353XUU\000\000\000\200\250aUU\000\000\000P\340kUU\000\000\000\060\354\377\377\177\000\000\000\002\263\000\000\000\000\000\000\034\016\002\000\000\000\000\000\355A\000\000\002\000\000\000\353\003\000\000\353\003", '\000' <repeats 19 times>, "\020\000\000\000\000\000\000\240\354\377\377\177\000\000\000"...
---

I was able to produce an xfbbd binary that could perform the above operaiton without crashing by using 
DEB_CFLAGS_SET=-D_GNU_SOURCE , but I don't know if that will have wider consequences. The file sizes 
and dates returned by 'DIR' are still wrong but, oddly, different.

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: arm64 (aarch64)
Foreign Architectures: armhf

Kernel: Linux 6.1.13-v8+ (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages fbb depends on:
ii  libax25      0.0.12-rc5+git20190411+b17ff36-4+b1
ii  libc6        2.36-8
ii  libncurses6  6.4-2
ii  libtinfo6    6.4-2

fbb recommends no packages.

fbb suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: fbb
Source-Version: 7.011-2
Done: tony mancill <tmancill@debian.org>

We believe that the bug you reported is fixed in the latest version of
fbb, 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 1032223@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
tony mancill <tmancill@debian.org> (supplier of updated fbb 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 05 Mar 2023 09:53:13 -0800
Source: fbb
Architecture: source
Version: 7.011-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: tony mancill <tmancill@debian.org>
Closes: 1032223
Changes:
 fbb (7.011-2) unstable; urgency=medium
 .
   * Team upload.
   * Address segfault when listing subdirectories (Closes: #1032223)
     Thank you to Mike Quin for the bug report and patch.
Checksums-Sha1:
 d7a89d92d753805f9b6eda014b065ce0ea48a51e 1941 fbb_7.011-2.dsc
 ed0f1c0248f82825bbc32bb33700e8de62d4e581 9124 fbb_7.011-2.debian.tar.xz
 8471f79eaf0c9911c4db33a5cd1b3b7e8bc39494 6530 fbb_7.011-2_amd64.buildinfo
Checksums-Sha256:
 94a8b9bf875d5d115c828dd443544f1ce6ce9232946dd1fb0d52c5b37d9a2d17 1941 fbb_7.011-2.dsc
 62010aa8ef7d2a5d0993438f5b990dbc673524836dc9fa78d039e4a20621cbea 9124 fbb_7.011-2.debian.tar.xz
 6a2be5546840c24567fb3aa872b3c2f02150a87c54291395c617acb5bd849a21 6530 fbb_7.011-2_amd64.buildinfo
Files:
 e67284ff2e024151909e94f9f6d82dba 1941 hamradio optional fbb_7.011-2.dsc
 daa20443580bd2a9acc8111358d1c3e3 9124 hamradio optional fbb_7.011-2.debian.tar.xz
 b8057cd717e6257884e1e2628d97eea0 6530 hamradio optional fbb_7.011-2_amd64.buildinfo

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

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmQE2vQUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpbx7w//V2evNNOavqwjcxv4mR5sDGeAqBtf
ha2fvei8KTImyjE08xHnlkZzwmd5pCdqRzPvyKaVreytWunNPCcqraNWA+zrxG3o
1tosZFfZb2f06+W3LBLbzo8RYKyLJHzI4RNhcWSdPqffsP9rKr+IsWAky8AxpNS1
wozIXZiZWHNPxs4fZ+M/aTXchn+Dz8zw4/tLQ0RiNDsy4l+SlwlHr0fMYrnA06rP
d5UeabPfv6TBBV7jF9jcFr7IOfLJLQEbRxefaf68/J/s6oIoyxdZCz1+Thc5ZBPv
1bdr2fApDV0oUV2oMZ4Bh6vLAUJt2agzGXHJWMjkyqht477MUD345ezz3n6GENRC
YpBE+oP2g1d+zXI7E7R+WTUZtiaYUFFTel2W4owJZ/Nmi/XFE+laBNEmfiJeI+ZM
45r1Efb0UmZSOsNNE4qXBhJfJzVDbnKC+H+w0Iodc3hYQk59aCHIUlqtjhTSWood
um90tGu0jJ2WMF3uAgNpto1d1BbnC/Jjp/fs+GUGYCj3fBC7yCYkWldY7FpxYEhE
l+6t1bdmGhSJCq6lA6JbF6RH7BB+qbBLVcti1OjTIsV0D16vnzqnX+uatZJXoY7L
Do+HPBw4XS25lqwI8Q1uap0DKMstC4Lwz0i4dRg2+qG201W6yHaIHE4Cn3ZWSdVh
DZ3uzp8KXS9MwqA=
=7E2f
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: