diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-10-19 22:29:07 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-10-19 22:29:07 +0000 |
commit | 30656082918742a1ceec3175bf8e11aab5b0570d (patch) | |
tree | 4c3b9358d61b44b9fef44a637da2c8a77af4bbae /textproc/opensched/files/patch-ag | |
parent | * Upgrade to 5.0.b5. (diff) |
Respect CC and CFLAGS, and fix a bug involving use of uninitialized
memory after malloc (causes coredump on -current)
Notes
Notes:
svn path=/head/; revision=68387
Diffstat (limited to '')
-rw-r--r-- | textproc/opensched/files/patch-ag | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/textproc/opensched/files/patch-ag b/textproc/opensched/files/patch-ag new file mode 100644 index 000000000000..da635f22e5fc --- /dev/null +++ b/textproc/opensched/files/patch-ag @@ -0,0 +1,10 @@ +--- src/loadfile.c.orig Sat Oct 19 15:29:13 2002 ++++ src/loadfile.c Sat Oct 19 15:28:40 2002 +@@ -268,6 +268,7 @@ + t = (TASK*)malloc(sizeof(TASK)); + if ( t == NULL ) + Error("Can't malloc task in AddTask()"); ++ memset(t, 0, sizeof(TASK)); + + t->id = strdup(id); + t->name = strdup(name); |