Bug 164729 - [PATCH] patch editors/nedit to not crash on file->open / file-save
Summary: [PATCH] patch editors/nedit to not crash on file->open / file-save
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: Daniel Eischen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-03 07:00 UTC by spry
Modified: 2012-02-03 09:00 UTC (History)
0 users

See Also:


Attachments
file.diff (561 bytes, patch)
2012-02-03 07:00 UTC, spry
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description spry 2012-02-03 07:00:27 UTC
editors/nedit crashes when doing either a file->open or file->save:

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  91 (X_QueryColors)
  Value in failed request:  0xffb3b3b3
  Serial number of failed request:  6525
  Current serial number in output stream:  6525

The exact problem was filed/discussed a loong time ago at:
https://bugzilla.redhat.com/show_bug.cgi?id=199770

for w/c this patch is shamelessly taken ;-)

Fix: See patch (shamelessly obtained from RH bugzilla ;-)

Patch attached with submission follows:
How-To-Repeat: Install editors/nedit. Run nedit. Do file->open or file->save. It will crash nedit. Very annoying.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-02-03 07:00:38 UTC
Responsible Changed
From-To: freebsd-ports-bugs->deischen

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-02-03 08:51:46 UTC
deischen    2012-02-03 08:51:32 UTC

  FreeBSD ports repository

  Added files:
    editors/nedit/files  patch-util-misc.c 
  Log:
  Add a patch file to prevent nedit from crashing on file->open or
  file->save operations.
  
  Patch provided by: Mars G Miro <spry at anarchy doh in doh the doh ph>
  
  Thanks!
  
  PR: 164729
  
  Revision  Changes    Path
  1.1       +14 -0     ports/editors/nedit/files/patch-util-misc.c (new)
_______________________________________________
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"
Comment 3 Daniel Eischen freebsd_committer freebsd_triage 2012-02-03 08:52:08 UTC
State Changed
From-To: open->closed

Patch provided in PR is committed.  Thanks a lot for your contribution!