Red Hat Bugzilla – Bug 115959
subscript out of range
Last modified: 2007-11-30 17:10:36 EST
Description of problem:
I just tried to compile package parted-1.6.3-31 from Fedora.
The compiler said
disk_mips.c(452): warning #175: subscript out of range
The source code is
vd->vd_name[VDNAMESIZE] = 0;
Might be better code
vd->vd_name[VDNAMESIZE - 1] = 0;
Version-Release number of selected component (if applicable):
Steps to Reproduce:
disk_mips.c is no longer included in the parted release.