svn commit: r294893 - head/lib/libdpv

Devin Teske dteske at FreeBSD.org
Wed Jan 27 15:32:35 UTC 2016


On Wed, 2016-01-27 at 15:21 +0000, Bjoern A. Zeeb wrote:
> > On 27 Jan 2016, at 06:21 , Devin Teske <dteske at freebsd.org> wrote:
> > 
> > Author: dteske
> > Date: Wed Jan 27 06:21:35 2016
> > New Revision: 294893
> > URL: https://svnweb.freebsd.org/changeset/base/294893
> > 
> > Log:
> >  Fix a crash if `-D' is used without `-t title'
> > 
> >  dialog(3)'s dlg_reallocate_gauge(), used both by dialog(3)'s
> > dialog_gauge()
> >  and dialog(1)'s `--gauge', will segmentation fault in strlen(3) if
> > no title
> >  is set for the widget. Reproducible with `dialog --gauge hi 6 20'
> > (adding
> >  `—title “”' is enough to prevent segmentation fault).
> 
> 
> mips/sparc64/powerpc say:
> 
> /scratch/tmp/bz/head.svn/lib/libdpv/dialog_util.c: In function
> 'dialog_spawn_gauge':
> /scratch/tmp/bz/head.svn/lib/libdpv/dialog_util.c:270: warning: zero
> -length printf format string
> 
> 

Fixed before you could hit send ;D
https://svnweb.freebsd.org/base?view=revision&revision=294922

(someone else reported it last night)
-- 
Devin



More information about the svn-src-all mailing list