Bug 122799 - ports-mgmt/bpm: patch to fix segfault on index read
Summary: ports-mgmt/bpm: patch to fix segfault on index read
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: 2008-04-15 19:50 UTC by Conrad J. Sabatier
Modified: 2008-04-26 08:10 UTC (History)
1 user (show)

See Also:


Attachments
bpm.diff (644 bytes, patch)
2008-04-15 19:50 UTC, Conrad J. Sabatier
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad J. Sabatier 2008-04-15 19:50:02 UTC
	Increase size of line buffer when reading ports index to prevent
	SIGSEG

Fix: Patch below doubles the size of the line buffer and clears up the 
	problem.
How-To-Repeat: 	Running bpm in current state segfaults on initial read of ports
	index due to insufficient line buffer space
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-04-15 19:50:10 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 Seth Kingsley 2008-04-15 22:40:21 UTC
On Tue, Apr 15, 2008 at 06:50:09PM +0000, Edwin Groothuis wrote:
> Please note that PR ports/122799 has just been submitted.

I agree to this patch; please submit it.
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2008-04-15 23:10:44 UTC
State Changed
From-To: feedback->open

Maintainer approved.
Comment 4 Rong-En Fan freebsd_committer freebsd_triage 2008-04-26 08:07:59 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2008-04-26 08:07:59 UTC
rafan       2008-04-26 07:07:55 UTC

  FreeBSD ports repository

  Modified files:
    ports-mgmt/bpm       Makefile 
    ports-mgmt/bpm/files patch-src::refresh.c 
  Log:
  - Increase read buffer to avoid SEGV when reading INDEX
  - Bump PORTREVISION
  
  PR:             ports/122799
  Submitted by:   Conrad J. Sabatier <conrads at cox.net>
  Approved by:    Seth Kingsley <sethk at meowfishies.com> (maintainer)
  
  Revision  Changes    Path
  1.19      +1 -1      ports/ports-mgmt/bpm/Makefile
  1.7       +1 -1      ports/ports-mgmt/bpm/files/patch-src::refresh.c
_______________________________________________
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"