Date: Sun, 16 Mar 1997 00:00:56 +0100 (CET) From: Philippe Charnier <charnier@xp11.frmug.org> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/2999: incorrect assignment in vfontedpr Message-ID: <199703152300.AAA05915@xp11.frmug.org> Resent-Message-ID: <199703152320.PAA15514@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 2999 >Category: bin >Synopsis: incorrect assignment in vfontedpr >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 15 15:20:03 PST 1997 >Last-Modified: >Originator: Philippe Charnier >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: >Description: >How-To-Repeat: >Fix: Index: usr.bin/vgrind/vfontedpr.c =================================================================== RCS file: /home2h/FreeBSD.cvsroot/src/usr.bin/vgrind/vfontedpr.c,v retrieving revision 1.6 diff -u -r1.6 vfontedpr.c --- vfontedpr.c 1996/10/22 16:18:17 1.6 +++ vfontedpr.c 1997/03/12 21:36:27 @@ -374,7 +374,7 @@ if (psptr < PSMAX) { ++psptr; strncpy (pstack[psptr], pname, PNAMELEN); - pstack[psptr][PNAMELEN] = NULL; + pstack[psptr][PNAMELEN] = '\0'; plstack[psptr] = blklevel; } } >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703152300.AAA05915>