summaryrefslogtreecommitdiffstats
path: root/loader/modules.c
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-02-27 19:49:18 +0000
committerMike Fulbright <msf@redhat.com>2002-02-27 19:49:18 +0000
commit8bf3be55e3518fa06ffe4731770a598b4b34a7c0 (patch)
treed64a871755e956d26eae4f34f25280014eb3e42c /loader/modules.c
parentf9a24853534909e144fbae9fe878579ca3b6a405 (diff)
downloadanaconda-8bf3be55e3518fa06ffe4731770a598b4b34a7c0.tar.gz
anaconda-8bf3be55e3518fa06ffe4731770a598b4b34a7c0.tar.xz
anaconda-8bf3be55e3518fa06ffe4731770a598b4b34a7c0.zip
make a little more sure we don't overflow string
Diffstat (limited to 'loader/modules.c')
-rw-r--r--loader/modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/modules.c b/loader/modules.c
index 6897ff95f..8ab76f648 100644
--- a/loader/modules.c
+++ b/loader/modules.c
@@ -797,7 +797,7 @@ int mlModuleInList(const char * modName, moduleList list) {
int mlWriteConfModules(moduleList list, int fd) {
int i;
struct loadedModuleInfo * lm;
- char buf[200], buf2[200];
+ char buf[16384], buf2[1024];
int scsiNum;
int ethNum;
int trNum = 0;