Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rkwasny
php
php-5.1.2-ftp_fopen_wrapper.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php-5.1.2-ftp_fopen_wrapper.patch of Package php
--- ext/standard/ftp_fopen_wrapper.c 2006/01/01 12:50:14 1.85.2.3 +++ ext/standard/ftp_fopen_wrapper.c 2006/03/20 14:10:35 1.85.2.4 @@ -18,7 +18,7 @@ | Sara Golemon <pollita@php.net> | +----------------------------------------------------------------------+ */ -/* $Id: ftp_fopen_wrapper.c,v 1.85.2.3 2006/01/01 12:50:14 sniper Exp $ */ +/* $Id: ftp_fopen_wrapper.c,v 1.85.2.4 2006/03/20 14:10:35 tony2001 Exp $ */ #include "php.h" #include "php_globals.h" @@ -611,7 +611,7 @@ tmp_len = MIN(sizeof(ent->d_name), basename_len - 1); memcpy(ent->d_name, basename, tmp_len); - ent->d_name[tmp_len] = '\0'; + ent->d_name[tmp_len - 1] = '\0'; efree(basename); /* Trim off trailing whitespace characters */
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