git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3df94b7
)
Uninitialized memory.
author
František Dvořák
<valtri@civ.zcu.cz>
Fri, 16 Mar 2012 16:20:36 +0000
(16:20 +0000)
committer
František Dvořák
<valtri@civ.zcu.cz>
Fri, 16 Mar 2012 16:20:36 +0000
(16:20 +0000)
org.glite.lb.server/src/userjobs.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server/src/userjobs.c
b/org.glite.lb.server/src/userjobs.c
index
dc87a86
..
81ccaf6
100644
(file)
--- a/
org.glite.lb.server/src/userjobs.c
+++ b/
org.glite.lb.server/src/userjobs.c
@@
-108,10
+108,11
@@
int edg_wll_UserJobsServer(
if (states) {
edg_wll_QueryRec oc[2],*ocp[2] = { oc, NULL };
+ memset(oc, 0, sizeof(oc));
oc[0].attr = EDG_WLL_QUERY_ATTR_OWNER;
oc[1].attr = EDG_WLL_QUERY_ATTR_UNDEF;
- if (check_job_query_index(ctx,ocp)) {
+ if (check_job_query_index(ctx,
(const edg_wll_QueryRec **)
ocp)) {
edg_wll_ResetError(ctx);
*states = NULL;
goto err;