Description
Direwolf 1.6 tag, building on s390x architecture on Fedora 33 and rawhide (will be F34) fails 'cmake test' with a buffer overflow detected. Build succeeds on s390x on Fedora 32, and on all other architectures of F32-34. Test #7 (enctest) has the failure.
Fedora rawhide (future F34) https://koji.fedoraproject.org/koji/buildinfo?buildID=1636157
Fedora 33 https://koji.fedoraproject.org/koji/buildinfo?buildID=1636158
Fedora 32 https://koji.fedoraproject.org/koji/buildinfo?buildID=1636159
While it's possible to ExcludeArch: s390x, and one could argue that no one sane would try running direwolf on a mainframe, it's often the case that these failures are latent on other architectures when detected on one.
From the build.log files of the rawhide build:
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.wGau2O
- umask 022
- cd /builddir/build/BUILD
- cd direwolf-1.6
- cd s390x-redhat-linux-gnu
- /usr/bin/ctest --output-on-failure --force-new-ctest-process -j3
Test project /builddir/build/BUILD/direwolf-1.6/s390x-redhat-linux-gnu
Start 1: dtest
Start 2: ttest
Start 3: tttexttest
1/20 Test Font color similar to background #2: ttest ............................ Passed 0.00 sec
Start 4: pftest
2/20 Test Makefile.linux #3: tttexttest ....................... Passed 0.00 sec
Start 5: tlmtest
3/20 Test Added HAMLib support for PTT control #5: tlmtest .......................... Passed 0.00 sec
Start 6: lltest
4/20 Test audio_portaudio.c line 917, Abort trap : 6 #6: lltest ........................... Passed 0.00 sec
Start 7: enctest
5/20 Test GPIO pin naming #4: pftest ........................... Passed 0.00 sec
Start 8: kisstest
6/20 Test debian packaging #8: kisstest ......................... Passed 0.00 sec
Start 9: pad2test
7/20 Test The telemetry toolkit would benefit from a simple way to increase sequence numbers #9: pad2test ......................... Passed 0.00 sec
Start 10: xidtest
8/20 Test KISS TCP only accepts one client #7: enctest ..........................Child aborted***Exception: 0.80 sec
*** buffer overflow detected ***: terminated
Start 11: dtmftest
9/20 Test Support for GPIO TX inhibit line #11: dtmftest ......................... Passed 0.02 sec
Start 12: check-fx25
10/20 Test Input support (TXINH so far) #12: check-fx25 ....................... Passed 0.01 sec
Start 13: check-modem1200
11/20 Test IGate Stats to Telemetry Data #1: dtest ............................ Passed 5.00 sec
Start 14: check-modem300
12/20 Test TX inhibit GPIO support #10: xidtest .......................... Passed 6.00 sec
Start 15: check-modem9600
13/20 Test Absolute Newbie with a question #15: check-modem9600 .................. Passed 0.38 sec
Start 16: check-modem19200
14/20 Test How to configure hamlib for ptt #16: check-modem19200 ................. Passed 0.48 sec
Start 17: check-modem2400-a
15/20 Test Merge pull request #1 from wb2osz/dev #13: check-modem1200 .................. Passed 7.42 sec
Start 18: check-modem2400-b
16/20 Test OS X packaging #17: check-modem2400-a ................ Passed 5.60 sec
Start 19: check-modem2400-g
17/20 Test Two direwolf stations transmit at same time (collide) how to adjust hold-off timer? #19: check-modem2400-g ................ Passed 0.30 sec
Start 20: check-modem4800
18/20 Test Can Direwolf jump into 14400 or 19200 baud rates #18: check-modem2400-b ................ Passed 4.84 sec
19/20 Test Misc fixes for upstream #20: check-modem4800 .................. Passed 2.46 sec
20/20 Test Fixes to Makefile.macosx #14: check-modem300 ................... Passed 11.99 sec
95% tests passed, 1 tests failed out of 20
Total Test time (real) = 17.00 sec
The following tests FAILED:
7 - enctest (Child aborted)
Errors while running CTest
error: Bad exit status from /var/tmp/rpm-tmp.wGau2O (%check)