ports/95410: misc/pinfo - uninitialized pointer dereference introduced by a patch in ports
Stanislaw Halik
sthalik at tehran.lain.pl
Thu Apr 6 13:50:31 UTC 2006
>Number: 95410
>Category: ports
>Synopsis: misc/pinfo - uninitialized pointer dereference introduced by a patch in ports
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 06 13:50:11 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Stanislaw Halik
>Release: 6.1-PRERELEASE
>Organization:
>Environment:
FreeBSD tehran.lain.pl 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Tue Mar 28 13:22:46 CEST 2006 root at tehran.lain.pl:/usr/obj/usr/src/sys/TEHRAN i386
>Description:
misc/pinfo/files/patch-src__utils.c has introduced the following bug:
--- src/utils.c.orig Thu Mar 16 23:14:30 2006
+++ src/utils.c Fri Mar 17 16:04:57 2006
[...]
- char *c = str_start;
+ *c = str_start;
which changes an attribution to the pointer to an uninitialized pointer dereference
>How-To-Repeat:
pinfo crashes after a while
>Fix:
change patch-src__utils.c:38
-+ *c = str_start;
++ c = str_start;
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list