mirror of
https://git.freebsd.org/ports.git
synced 2025-05-24 23:16:33 -04:00
- Add patch that's fix core dump, when an FTP server rejects a
file retrieval operation with permission denied. - bump PORTREVISION PR: ports/142454 Submitted by: Aragon Gouveia <aragon@phat.za.net>
This commit is contained in:
parent
6b221d9c1c
commit
d708c52834
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247412
2 changed files with 20 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= curlftpfs
|
PORTNAME= curlftpfs
|
||||||
PORTVERSION= 0.9.2
|
PORTVERSION= 0.9.2
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
MASTER_SITES= SF
|
MASTER_SITES= SF
|
||||||
PKGNAMEPREFIX= fusefs-
|
PKGNAMEPREFIX= fusefs-
|
||||||
|
|
19
sysutils/fusefs-curlftpfs/files/patch-ftpfs.c
Normal file
19
sysutils/fusefs-curlftpfs/files/patch-ftpfs.c
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
--- ./ftpfs.c.orig 2008-04-30 01:05:47.000000000 +0200
|
||||||
|
+++ ./ftpfs.c 2010-01-08 19:14:39.000000000 +0100
|
||||||
|
@@ -611,10 +611,12 @@
|
||||||
|
curl_easy_cleanup(fh->write_conn);
|
||||||
|
g_free(fh->full_path);
|
||||||
|
g_free(fh->open_path);
|
||||||
|
- sem_destroy(&fh->data_avail);
|
||||||
|
- sem_destroy(&fh->data_need);
|
||||||
|
- sem_destroy(&fh->data_written);
|
||||||
|
- sem_destroy(&fh->ready);
|
||||||
|
+ if (fh->data_avail) {
|
||||||
|
+ sem_destroy(&fh->data_avail);
|
||||||
|
+ sem_destroy(&fh->data_need);
|
||||||
|
+ sem_destroy(&fh->data_written);
|
||||||
|
+ sem_destroy(&fh->ready);
|
||||||
|
+ }
|
||||||
|
free(fh);
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue