Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Apr 2006 13:40:42 GMT
From:      Stanislaw Halik <sthalik@tehran.lain.pl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/95410: misc/pinfo - uninitialized pointer dereference introduced by a patch in ports
Message-ID:  <200604061340.k36DegD5097192@www.freebsd.org>
Resent-Message-ID: <200604061350.k36DoCGG019393@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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