bugGNU Enscript - Bugs: bug #29198, enscript segfaults if line-length...

 
 

bug #29198: enscript segfaults if line-length is > 90 characters

Submitted by:  Juergen Daubert <jue>
Submitted on:  Thu 11 Mar 2010 07:41:16 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Wed 02 Jun 2010 11:54:36 PM UTC, comment #6:

Fixed in GNU Enscript 1.6.5.2.

Tim Retout <diocles>
Project Member
Tue 01 Jun 2010 10:24:42 PM UTC, comment #5:

I've committed the patch (5c932544) - I'll make a release shortly, honest.

Tim Retout <diocles>
Project Member
Mon 10 May 2010 10:28:27 AM UTC, comment #4:

Any news on that issue?

Thanks and regards

Juergen Daubert <jue>
Wed 17 Mar 2010 10:43:10 PM UTC, comment #3:

Thanks for finding this - the fix makes sense. The manual said it would work with printf, but I guess MESSAGE doesn't use printf.

I'll make a point release this weekend.

Tim Retout <diocles>
Project Member
Wed 17 Mar 2010 12:48:48 PM UTC, comment #2:

Attached patch works for me.

(file #19965)

Juergen Daubert <jue>
Wed 17 Mar 2010 12:00:40 PM UTC, comment #1:

Sorry, was partly wrong. The bug was introduced with 1.6.4.91, whereas versions 1.6.4.90 and older works.

IMO this patch doesn't work as expected:
http://git.savannah.gnu.org/cgit/enscript.git/commit/?id=27df178044e9f91ad0094e9b72e86960ad0a2056

Juergen Daubert <jue>
Thu 11 Mar 2010 07:41:16 PM UTC, original submission:

got the following with all versions of enscript > 1.6.4:

$:~> enscript --version | head -n1
GNU enscript 1.6.5.1
$:~> wc -mcl test.txt
1 91 91 test.txt
$:~> enscript test.txt -o test.ps
[ 1 pages * 1 copy ] left in test.ps
Segmentation fault

For system informations see the attached config.log, gdb backtrace attached as well.

Juergen Daubert <jue>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #19965:  enscript-ngettext.patch added by jue (1KiB - application/octet-stream)
file #19915:  enscript.debug added by jue (3KiB - application/octet-stream)
file #19916:  config.log added by jue (115KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 02 Jun 2010 11:54:36 PM UTCdioclesOpen/ClosedOpen=>Closed
    Wed 17 Mar 2010 12:48:48 PM UTCjueAttached File-=>Added enscript-ngettext.patch, #19965
    Thu 11 Mar 2010 07:41:17 PM UTCjueAttached File-=>Added enscript.debug, #19915
      Attached File-=>Added config.log, #19916

    Back to the top


    Powered by Savane 3.1-cleanup1