diff options
author | Florent Thoumie <flz@FreeBSD.org> | 2005-04-12 09:06:25 +0000 |
---|---|---|
committer | Florent Thoumie <flz@FreeBSD.org> | 2005-04-12 09:06:25 +0000 |
commit | 84dee8dde88b73b2e13dba2a7e117655103732f0 (patch) | |
tree | af57ee5943fc53988e7e936954a943ccbdff1b07 /security/cfs/files/patch-af | |
parent | Fix and document insecure temporary file handling in portupgrade. (diff) |
- Merge and split existing patch-a[a-f] files.
- Fix types issues on 64-bits architectures.
PR: ports/75878
Submitted by: Ville-Pertti Keinonen <will@exomi.com>
Approved by: maintainer timeout (3 months)
Notes
Notes:
svn path=/head/; revision=133129
Diffstat (limited to 'security/cfs/files/patch-af')
-rw-r--r-- | security/cfs/files/patch-af | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/security/cfs/files/patch-af b/security/cfs/files/patch-af deleted file mode 100644 index c9d3edc2d1da..000000000000 --- a/security/cfs/files/patch-af +++ /dev/null @@ -1,20 +0,0 @@ ---- cfs_fh.c.orig Sat Jul 15 01:26:30 2000 -+++ cfs_fh.c Sat Jul 15 01:24:02 2000 -@@ -908,7 +908,7 @@ - f->name=NULL; - } - } else { -- if ((f=(cfs_fileid *)malloc(sizeof(cfs_fileid)))==NULL) { -+ if ((f=(cfs_fileid *)calloc(1, sizeof(cfs_fileid)))==NULL) { - fprintf(stderr,"cfsd: out of memory\n"); - cfserrno=NFSERR_STALE; /* bad news */ - return -2; -@@ -1198,7 +1198,7 @@ - #endif /* SHORTLINKS */ - )) == NULL) { - if ((f=(cfs_fileid *) -- malloc(sizeof(cfs_fileid)))==NULL) { -+ calloc(1, sizeof(cfs_fileid)))==NULL) { - fprintf(stderr,"cfsd: no memory\n"); - cfserrno=NFSERR_STALE; /* bad news */ - return -2; |