diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-02-17 17:15:50 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-02-17 17:15:50 +0000 |
commit | 59ab8ec036867e5a52ad348f6c6fd284a66d912f (patch) | |
tree | 07384592211783abb4a22ea2af39a7cb02b4dafb /loader2/modules.c | |
parent | f91bda34939bb132251935ea9932f6109e5f56dc (diff) | |
download | anaconda-59ab8ec036867e5a52ad348f6c6fd284a66d912f.tar.gz anaconda-59ab8ec036867e5a52ad348f6c6fd284a66d912f.tar.xz anaconda-59ab8ec036867e5a52ad348f6c6fd284a66d912f.zip |
fix for off by one from mitr (#115948)
Diffstat (limited to 'loader2/modules.c')
-rw-r--r-- | loader2/modules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader2/modules.c b/loader2/modules.c index b76b07dd3..289d1a624 100644 --- a/loader2/modules.c +++ b/loader2/modules.c @@ -733,7 +733,7 @@ char * getModuleLocation(int version) { } if (version == 1) { - ret = malloc(strlen(u.release) + strlen(arch) + 1); + ret = malloc(strlen(u.release) + strlen(arch) + 2); sprintf(ret, "%s/%s", u.release, arch); return ret; } else { |