Bug 95410 - misc/pinfo - uninitialized pointer dereference introduced by a patch in ports
Summary: misc/pinfo - uninitialized pointer dereference introduced by a patch in ports
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-06 14:50 UTC by Stanislaw Halik
Modified: 2006-04-14 02:51 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stanislaw Halik 2006-04-06 14:50:11 UTC
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

Fix: 

change patch-src__utils.c:38

-+       *c = str_start;
++        c = str_start;
How-To-Repeat: pinfo crashes after a while
Comment 1 Marcus Alves Grando freebsd_committer freebsd_triage 2006-04-14 02:51:16 UTC
State Changed
From-To: open->closed

Committed. Thanks!