Bug 11048 - variable not initialized in fwtk-lib leads to syslog coredump
Summary: variable not initialized in fwtk-lib leads to syslog coredump
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 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-04-09 22:40 UTC by klikes
Modified: 2007-03-18 21:00 UTC (History)
0 users

See Also:


Attachments
file.diff (774 bytes, patch)
1999-04-09 22:40 UTC, klikes
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description klikes 1999-04-09 22:40:04 UTC
	In the function hostmatch in the fwtk library, there is a variable rev
        which is declared but never initialized before first reference.  The code
        appears to assume that is has a null value.  Sometimes, however, it does not
        which causes a call to syslog to coredump.  This bug still exists in a version
	of fwtk downloaded from their site yesterday.

Fix: Apply the following patch.  This patch was sent to the fwtk-support address, but no
	reply has been forthcoming.


-----------cut here-------------
How-To-Repeat: 
	Running smap patched with smap_nospam patch on a server from netacl.  Include
	at least one "relay-domain" line in netacl.  From a host not in that relay-domain,
	whose forward DNS lookup does not match the reverse lookup for it's ip, connect to
	the smap server.  Type in a mail from:user@domain and rcpt to:user@domain, where domain
        is not in the relay domain.  smap will coredump after the rcpt to: line.  I have been
        able to do this reliably locally.
Comment 1 Michael Haro freebsd_committer freebsd_triage 1999-04-16 20:00:13 UTC
Responsible Changed
From-To: freebsd-ports->obrien

Over to maintainer 
Comment 2 David E. O'Brien freebsd_committer freebsd_triage 2000-12-23 19:32:46 UTC
Responsible Changed
From-To: obrien->freebsd-ports

drop maintainship
Comment 3 Ade Lovett freebsd_committer freebsd_triage 2001-06-06 16:05:15 UTC
State Changed
From-To: open->closed

As with ports/14826, these kind of updates (especially when third party 
patches are already being used from outside the ports system) should be 
first sent to the software authors for inclusion in a new revision, 
rather than simply patching the port.
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-03-18 20:59:03 UTC
arved       2007-03-18 20:58:56 UTC

  FreeBSD ports repository

  Modified files:
    graphics/qglviewer   Makefile pkg-descr 
  Log:
  Make fetchable.
  
  PR:             11048
  Submitted by:   Eric P. Scott
  
  Revision  Changes    Path
  1.21      +1 -1      ports/graphics/qglviewer/Makefile
  1.3       +1 -1      ports/graphics/qglviewer/pkg-descr
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"