Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 2003 21:36:47 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/ifconfig ifconfig.c
Message-ID:  <200310260436.h9Q4al4O016287@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       2003/10/25 21:36:47 PDT

  FreeBSD src repository

  Modified files:
    sbin/ifconfig        ifconfig.c 
  Log:
  Give wider types to sscanf to fix two warnings (u_short cannot be > 0xffff)
  and to make sure that we catch oversized arguments rather than silently
  truncate them.  I dont know if sscanf will reject an integer if it will
  not fit in the short return variable or not, but this way it should be
  detected.
  
  Revision  Changes    Path
  1.92      +2 -2      src/sbin/ifconfig/ifconfig.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310260436.h9Q4al4O016287>