Bug 117912

Summary: [patch] chinese/hanzim: Fix segmentation fault caused by strcmp none exist variable
Product: Ports & Packages Reporter: Sunry Chen <Sunrychen>
Component: Individual Port(s)Assignee: Xin LI <delphij>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Sunry Chen 2007-11-08 09:20:01 UTC
Segmentation fault caused by strcmp none exist variable.

Fix: Judge if there's option before strcmp it.

Patch attached with submission follows:
How-To-Repeat: Just run it without any option.
Comment 1 Xin LI freebsd_committer freebsd_triage 2007-12-11 21:03:29 UTC
Responsible Changed
From-To: freebsd-ports-bugs->delphij

Take.
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-12-11 21:08:56 UTC
delphij     2007-12-11 21:08:50 UTC

  FreeBSD ports repository

  Modified files:
    chinese/hanzim       Makefile 
    chinese/hanzim/files patch-hanzim.c 
  Log:
  Fix segmentation fault caused by strcmp() on nonexistent argv.
  
  Pass maintainership to submitter.
  
  PR:             117912
  Submitted by:   Sunry Chen <sunrychen at gmail.com>
  
  Revision  Changes    Path
  1.14      +6 -3      ports/chinese/hanzim/Makefile
  1.4       +3 -3      ports/chinese/hanzim/files/patch-hanzim.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"
Comment 3 Xin LI freebsd_committer freebsd_triage 2007-12-11 21:09:03 UTC
State Changed
From-To: open->closed

Committed, thanks!