conntrack: use fscanf() instead of read() for showing counter
A message that is not in the archive (sent off-list or not yet received): 20091007162834.13930.14962.stgit@lb64
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!