Hi Gunnar,

Gunnar Wolf wrote:
> Axel Beckert dijo [Sat, Nov 13, 2021 at 04:17:07PM +0100]:
> > reform:~$ cpufetch
> > *** buffer overflow detected ***: terminated
> > Aborted (core dumped)
> > 
> > > Now, running cpufetch from the upstream repository (v1.00, commit
> > > a5b321a) does not die and correctly prints the architecture
> > > (screenshot attached),
> > 
> > Tagging as fixed-upstream then. :-)
> 
> Well, just thinking -- I am not sure it is fixed upstream (only that
> it no longer happens in my hardware). If the result of being unable to
> detect the CPU yields a core dump, I don't think it should be marked
> as fixed-upstream.

This is a misunderstanding. I thought that it was clear that my output
was from the 0.98-1 Debian package, not from an upstream git checkout.

An upstream git checkout works for me as well:

~/cpufetch → make
cc -Wall -Wextra -pedantic -DARCH_ARM -Wno-unused-parameter -std=c99 
-fstack-protector-all -O2 -Wfloat-equal -Wshadow -Wpointer-arith 
src/common/main.c src/common/cpu.c src/common/udev.c src/common/printer.c 
src/common/args.c src/common/global.c src/arm/midr.c src/arm/uarch.c 
src/arm/soc.c src/arm/udev.c -o cpufetch
make  6.38s user 0.62s system 98% cpu 7.098 total
~/cpufetch → ./cpufetch -s legacy 

     ############    ##########   ####  #######  ########   SoC:                
 Unknown
  ###############    #########    ########################  Technology:         
 Unknown
 ####        ####    ####         #####   ########   #####  Microarchitecture:  
 Cortex-A53
####         ####    ####         ####     ######     ####  Max Frequency:      
 1.500 GHz
####         ####    ####         ####      ####      ####  Cores:              
 4 cores
 ####       #####    ####         ####      ####      ####  Features:           
 NEON,SHA1,SHA2,AES,CRC32
  ###############    ####         ####      ####      ####  Peak Performance:   
 24.00 GFLOP/s
   ########  ####    ####         ####      ####      ####  

~/cpufetch → cat .git/HEAD .git/refs/heads/master
ref: refs/heads/master
a5b321a9668f4763225e54ac71ab7ee2f86fc468

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Reply via email to