netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] conntrack: use fscanf() instead of read() for showing counter
       [not found] <20091007162834.13930.14962.stgit@lb64>
@ 2009-10-08 16:07 ` Pablo Neira Ayuso
  0 siblings, 0 replies; only message in thread
From: Pablo Neira Ayuso @ 2009-10-08 16:07 UTC (permalink / raw)
  To: Hannes Eder; +Cc: Netfilter Development Mailinglist

Hannes Eder wrote:
> 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.  Furthermore read() might not read enough, though unlikely
> here.

Also applied, thanks!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-08 16:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20091007162834.13930.14962.stgit@lb64>
2009-10-08 16:07 ` [PATCH] conntrack: use fscanf() instead of read() for showing counter Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).