Bug 232755

Summary: grip doesn't start on my locale (ja_JP.UTF-8)
Product: [Fedora] Fedora Reporter: CHIKAMA Masaki <masaki.chikama>
Component: gripAssignee: Adrian Reber <adrian>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-18 00:08:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
extend buffer by double. none

Description CHIKAMA Masaki 2007-03-17 06:02:19 UTC
Description of problem:
Grip doesn't start on my locale (ja_JP.UTF-8).
It grashs.

Version-Release number of selected component (if applicable):
3.2.0-15.fc6

How reproducible:
Alwayes

Steps to Reproduce:
1. LANG=ja_JP.UTF-8 grip
2.
3.
  
Actual results:
Grip crashed

Expected results:
Grip start

Additional info:
This is because the buffer overflow in grip.c:421 .
The patch is attached.
The bug is only in my locale (for now).

Comment 1 CHIKAMA Masaki 2007-03-17 06:02:19 UTC
Created attachment 150298 [details]
extend buffer by double.

Comment 2 Adrian Reber 2007-03-18 00:08:28 UTC
I have released a fix with you patch for the FC-5, FC-6 and devel branch. Thanks
for your patch.