[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] s390 qemu boot failure in -next
From: |
Georgi Guninski |
Subject: |
Re: [qemu-s390x] s390 qemu boot failure in -next |
Date: |
Tue, 26 Jun 2018 08:32:46 +0300 |
On Mon, Jun 25, 2018 at 09:27:59AM +0200, Christian Borntraeger wrote:
> - /* Overwrite parameters in the kernel image, which are "rom" */
> - strcpy(rom_ptr(KERN_PARM_AREA), ipl->cmdline);
> + strcpy(rom_ptr(KERN_PARM_AREA), ipl->cmdline);
Why not replace strcpy() with strncpy() or snprintf()?
strcpy() may overflow.
- Re: [qemu-s390x] s390 qemu boot failure in -next, (continued)
- Re: [qemu-s390x] s390 qemu boot failure in -next, Vasily Gorbik, 2018/06/25
- Re: [qemu-s390x] s390 qemu boot failure in -next, Cornelia Huck, 2018/06/25
- Re: [qemu-s390x] s390 qemu boot failure in -next, Christian Borntraeger, 2018/06/25
- Re: [qemu-s390x] s390 qemu boot failure in -next, Guenter Roeck, 2018/06/25
- Re: [qemu-s390x] s390 qemu boot failure in -next, Vasily Gorbik, 2018/06/25
- [qemu-s390x] [PATCH] s390/boot: block uncompressed vmlinux booting attempts, Vasily Gorbik, 2018/06/25
- Re: [qemu-s390x] [PATCH] s390/boot: block uncompressed vmlinux booting attempts, Guenter Roeck, 2018/06/25
- Re: [qemu-s390x] [PATCH] s390/boot: block uncompressed vmlinux booting attempts, Christian Borntraeger, 2018/06/26
- Re: [qemu-s390x] [PATCH] s390/boot: block uncompressed vmlinux booting attempts, Cornelia Huck, 2018/06/26
Re: [qemu-s390x] s390 qemu boot failure in -next,
Georgi Guninski <=