svn commit: r294893 - head/lib/libdpv

Bjoern A. Zeeb bz at FreeBSD.org
Wed Jan 27 15:22:02 UTC 2016


> 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




More information about the svn-src-head mailing list