Bug 28556 - Segmentation fault with patch -d NOWHERE
Summary: Segmentation fault with patch -d NOWHERE
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: patch (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-14 20:25 MSK by Vitaly Lipatov
Modified: 2013-02-19 02:59 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Lipatov 2013-02-14 20:25:36 MSK
patch -d падает, если каталог не существует.

$ gdb --args patch -d NOWHERE
(gdb) r
Starting program: /usr/bin/patch -d NOWHERE
/usr/bin/patch: **** Can't change to directory NOWHERE : No such file or directory

Program received signal SIGSEGV, Segmentation fault.
forget_output_files () at patch.c:1935
1935	  gl_list_iterator_t iter = gl_list_iterator (files_to_output);
Comment 1 Repository Robot 2013-02-15 03:05:25 MSK
patch-2.7.1-alt2 -> sisyphus:

* Thu Feb 14 2013 Dmitry V. Levin <ldv@altlinux> 2.7.1-alt2
- Updated to v2.7.1-3-g082baa3 (closes: #28556).
Comment 2 Vitaly Lipatov 2013-02-19 02:59:27 MSK
Спасибо, не падает!