Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
tar
tar-incremental-backup-segfault.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tar-incremental-backup-segfault.patch of Package tar
From e21d54e8cd3d8026ad56f90cc6bde831106c2cb9 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff <gray@gnu.org.ua> Date: Mon, 17 May 2010 20:22:16 +0300 Subject: [PATCH] Bugfix. * src/incremen.c (make_directory): Retain the slash if it is the only character in a filename. --- src/incremen.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Index: tar-1.21/src/incremen.c =================================================================== --- tar-1.21.orig/src/incremen.c +++ tar-1.21/src/incremen.c @@ -255,7 +255,7 @@ make_directory (const char *name) directory->dump = directory->idump = NULL; directory->orig = NULL; directory->flags = false; - if (namelen && ISSLASH (name[namelen - 1])) + if (namelen > 1 && ISSLASH (name[namelen - 1])) namelen--; directory->name = xmalloc (namelen + 1); memcpy (directory->name, name, namelen);
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