Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
cpio
cpio-pattern-file-sigsegv.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cpio-pattern-file-sigsegv.patch of Package cpio
Index: cpio-2.10/src/copyin.c =================================================================== --- cpio-2.10.orig/src/copyin.c 2010-08-11 17:09:54.000000000 +0200 +++ cpio-2.10/src/copyin.c 2010-08-11 17:10:01.000000000 +0200 @@ -944,6 +944,8 @@ read_pattern_file () pattern_fp = fopen (pattern_file_name, "r"); if (pattern_fp == NULL) open_error (pattern_file_name); + else + { while (ds_fgetstr (pattern_fp, &pattern_name, '\n') != NULL) { if (new_num_patterns >= max_new_patterns) @@ -958,6 +960,7 @@ read_pattern_file () } if (ferror (pattern_fp) || fclose (pattern_fp) == EOF) close_error (pattern_file_name); + } for (i = 0; i < num_patterns; ++i) new_save_patterns[i] = save_patterns[i];
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor