summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>1999-02-10 22:07:58 +0000
committerBill Fenner <fenner@FreeBSD.org>1999-02-10 22:07:58 +0000
commit8e8b196ed37aeb2583b07890565f2e80032a73f5 (patch)
tree47a0f18dbc84e95b05ab0c0ba5e856a8c5c7c092 /devel
parentupgrade to 2.4.11 (diff)
Terminate buffer read from file in PLGetProplistWithPath().
This fixes the core dumps that many windowmaker apps (at least wmsetbg and WPrefs) were seeing.
Notes
Notes: svn path=/head/; revision=16596
Diffstat (limited to 'devel')
-rw-r--r--devel/libPropList/files/patch-ab10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/libPropList/files/patch-ab b/devel/libPropList/files/patch-ab
new file mode 100644
index 000000000000..63e54369fb68
--- /dev/null
+++ b/devel/libPropList/files/patch-ab
@@ -0,0 +1,10 @@
+--- filehandling.c.orig Mon Jan 25 15:30:54 1999
++++ filehandling.c Wed Feb 10 14:02:41 1999
+@@ -106,6 +106,7 @@
+ return NULL;
+ }
+
++ *(str + fstat_buf.st_size) = '\0';
+ flk.l_type = F_UNLCK;
+ #if 0
+ if((flock(fd, LOCK_UN))<0)