Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Nov 2010 19:23:16 +0000 (UTC)
From:      Andreas Tobler <andreast@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/boot/ofw/libofw openfirm.c
Message-ID:  <201011201923.oAKJNYcO081524@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
andreast    2010-11-20 19:23:16 UTC

  FreeBSD src repository

  Modified files:
    sys/boot/ofw/libofw  openfirm.c 
  Log:
  SVN rev 215577 on 2010-11-20 19:23:16Z by andreast
  
  Check the OF_getprop() return value before proceeding. Allocate only as
  much space as needed for the mode buffer. Use strcmp, relying on OF giving
  back NULL terminated strings.
  
  Submitted by:   marius
  Approved by:    nwhitehorn (mentor)
  
  Revision  Changes    Path
  1.18      +4 -4      src/sys/boot/ofw/libofw/openfirm.c



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