conntrack: use fscanf() instead of read() for showing counter
Pablo Neira Ayuso
maintainerQuoted 4 lines · Hannes Eder
Read an integer right away with
fscanf()instead of read()-ing to a buffer, which was actually to small for the terminating '\0', and atoi()-ing. Furthermoreread()might not read enough, though unlikely here.
Also applied, thanks!