bugGNU patch - Bugs: bug #54845, patch segfaults if it can't write...


bug #54845: patch segfaults if it can't write *.orig

Submitted by:  Jean Delvare <khali>
Submitted on:  Tue 16 Oct 2018 09:46:32 AM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment(Rich Markup)

You are not logged in

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


Tue 16 Oct 2018 09:46:32 AM UTC, original submission:

A regression in patch was reported in the openSUSE bugzilla:


The report includes a reproducer. I bisected the regression to this commit:

commit 66fdcf0e7c83a1e2eb4db97b9e24f224db656b65
Author: Andreas Gruenbacher
Date: Tue Jul 19 22:40:40 2016 +0200

Fix broken git-style patch behavior

The segfault only happens with git-style patches.

Jean Delvare <khali>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by khali (Submitted the item)

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

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.4