Displaying 2 results from an estimated 2 matches for "2e26c9a".
Did you mean:
2e25c95
2011 Aug 04
0
[PATCH] fstype: fix possible null deref in check_for_modules()
...patch adding ko.gz support.
Cc: Karel Zak <kzak at redhat.com>
Signed-off-by: maximilian attems <max at stro.at>
---
usr/kinit/fstype/fstype.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/usr/kinit/fstype/fstype.c b/usr/kinit/fstype/fstype.c
index 2e26c9a..c5a1432 100644
--- a/usr/kinit/fstype/fstype.c
+++ b/usr/kinit/fstype/fstype.c
@@ -171,13 +171,13 @@ static int check_for_modules(const char *fs_name)
return 0;
while (fgets(buf, sizeof(buf), f)) {
cp = strchr(buf, ':');
- if (cp != NULL)
- *cp = 0;
- else
+ if (cp == NULL)...
2011 Jul 08
4
[PATCH 0/4] usr/kinit checkpatch
Various coding style fixes checkpatch warns about.
The goal is not to be 100% checkpatch compliant,
but to have more consistent coding style.
As this is a trivial patch serie, will land in 24 hours in klibc git,
unless of course ml review hits a bugger.
Checked with size(3) that the generated kinit, fstype, ipconfig and
nfsmount are the same.
maximilian attems (4):
[klibc] ipconfig: reduce