bugGNU gettext - Bugs: bug #27474, Segmentation fault in msgmerge

 
 

bug #27474: Segmentation fault in msgmerge

Submitted by:  Peter Eisentraut <petere>
Submitted on:  Thu 17 Sep 2009 09:57:52 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Bruno Haible <haible>
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 19 Sep 2009 02:43:58 PM UTC, comment #1:

Thanks for the reminder. The bug has been fixed in the
gettext sources on 2008-05-16. Sorry for not replying
earlier.

Bruno Haible <haible>
Project AdministratorIn charge of this item.
Thu 17 Sep 2009 09:57:52 PM UTC, original submission:

I experience a segmentation fault when msgmerge runs a particular merge that appears to involve plural forms. This is reproducible with 0.17 and git head.

It appears that there is an obvious typo in the code. I have attached a patch. I have also attached a test case (unpack and runme.sh) in case you need convincing. ;-)

Originally reported to http://lists.gnu.org/archive/html/bug-gnu-utils/2009-04/msg00016.html , but it might have been lost in the noise.

Peter Eisentraut <petere>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #18729:  testcase.tar.gz added by petere (17kB - application/gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by haible (Posted a comment)
  • -unavailable- added by petere (Submitted the item)
  • -unavailable- added by petere
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 19 Sep 2009 02:43:58 PM UTChaibleOpen/ClosedOpen=>Closed
      Assigned toNone=>haible
      StatusNone=>Fixed
    Thu 17 Sep 2009 09:57:52 PM UTCpetereAttached File-=>Added testcase.tar.gz, #18729
      Carbon-Copy-=>Added petere
      Attached File-=>Added msgmerge-segfault-fix.patch, #18728

    Back to the top


    Powered by Savane 3.1-cleanup