projects
/
mikachu
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
found memory corruption in the obt xqueue and paths
[mikachu/openbox.git]
/
obt
/
paths.c
diff --git
a/obt/paths.c
b/obt/paths.c
index
8afe4f7
..
b20eb48
100644
(file)
--- a/
obt/paths.c
+++ b/
obt/paths.c
@@
-126,7
+126,7
@@
static void find_uid_gid(uid_t *u, gid_t **g, guint *n)
}
endgrent();
- qsort(*g,
sizeof(gid_t), *n
, gid_cmp);
+ qsort(*g,
*n, sizeof(gid_t)
, gid_cmp);
}
ObtPaths* obt_paths_new(void)