Hi there, lsraid 0.7.0 segfaults in load_partition while trying to reference a not existing entry in !ctxt->devtable[major] on my RedHat AS 2.1. The offending /proc/partitions is attached to this mail. The easy fix of increasing MAX_LINE_LENGTH to 200 worked on my box. And changing "if (*name && major)" to "if (*name && major && major<MAJORS)" should increase security as well. It isn't enough to solve the problem, though. If you've got any questions, please mail me diretly, as I'm not subscribing this list. Ragards, K.-M. Hansche
major minor #blocks name rio rmerge rsect ruse wio wmerge wsect wuse running use aveq 232 0 209715200 emcpowera 65019205 53601340 515454846 211610360 10717684 119430191 130229040 45063770 -163 899955670 -1076021762 232 1 1 emcpowera1 12 0 24 30 0 0 0 0 0 30 0 232 5 32772537 emcpowera5 48039871 45709167 201232968 145497710 9809 10294 20144 11680 3 882495940 -2086921298 232 6 32772568 emcpowera6 3533203 1605649 68991436 14186450 1507339 1550197 3131724 7275910 2 604420940 -2125934928 232 7 32772568 emcpowera7 5937406 2440353 121027624 23546830 2 0 4 0 1 833395410 530004670 232 8 32772568 emcpowera8 6372089 2426909 121638432 26026550 3 0 8 0 7 886658420 -857330296 232 9 32772568 emcpowera9 1086166 1360626 2446832 2213550 4448867 56991141 61440008 17360740 0 2778670 18032850 232 10 32772568 emcpowera10 44 44 128 90 4708094 60827910 65536004 20245490 0 1549120 17315720 232 11 6538423 emcpowera11 47840 56966 111760 132120 42759 50623 99500 168480 0 119010 135210 232 12 6538423 emcpowera12 2484 1611 5384 7910 811 26 1648 1480 0 7350 4870 232 16 157286400 emcpowerb 674102719 65164357 1795794743 1089596890 253361930 251921707 734085494 936215940 -1381 -625568858 531713220 232 17 1 emcpowerb1 24 0 46 20 0 0 0 0 -1 439520790 1708890548 232 21 32772537 emcpowerb5 407167631 656 919827957 695688340 58734273 60481674 169458872 279458790 -23 -1436324198 2022586904 232 22 32772568 emcpowerb6 35118643 81 138734630 49024230 25300350 65260421 114385542 98756670 -45 -1905009198 -874765452 232 23 32772568 emcpowerb7 86489948 280 276203706 131739540 48863677 65397050 164624292 178797940 32 -1473915198 142451740 232 24 32772568 emcpowerb8 144553581 65163316 459060062 210416030 119907536 60782562 284352452 377698400 -233 -852344458 -1174491858 232 25 26193951 emcpowerb9 53 3 136 50 0 0 0 0 0 50 20 58 0 5242880 lvma 0 0 0 0 0 0 0 0 0 0 0 8 0 71687369 sda 134807378 894671072 1242572909 1928036070 97266646 372521068 524015942 -2076406486 0 775971820 -147792936 8 1 71681998 sda1 102764907 526120794 841752137 1549834040 77938639 277413349 409310192 1749727790 0 708899690 -994921456 8 16 71687369 sdb 24849163 179924653 417417848 169894720 8914014 93232865 147781718 94768290 0 79399950 264663210 8 17 71681998 sdb1 24845837 179876349 417365503 169839630 8842488 92815052 147292374 94508330 0 79244090 264346300 8 32 71687369 sdc 64687458 558807086 710996305 494541460 66847654 292403188 530336412 1130929690 0 364594270 1625502620 8 33 71681998 sdc1 48599705 366572577 501839645 386519240 49003056 174492934 394580326 862201510 0 272260450 1248749130 8 48 71687369 sdd 178775114 811526605 1203432137 1554742000 101022278 463358661 610487700 1514310840 0 861711610 -1225494646 8 49 71681998 sdd1 72115461 343847999 628415489 633279040 36300185 184579128 266950120 425720820 0 463518420 1059387990 8 64 71687372 sde 15893125 33102013 307278322 81173570 1193501 15238456 108638256 7372260 0 6788960 88547580 8 65 71681998 sde1 15893095 33101956 307278148 81173900 1193499 15238456 108638252 7372320 0 6788780 88547200 8 80 71687372 sdf 2055673 46290007 386763202 19551210 1840598 30980121 260625416 80149520 0 18865450 99701640 8 81 71681998 sdf1 2055638 46289950 386763018 19551390 1840595 30980121 260625410 80149650 0 18865240 99701440 8 96 35566479 sdg 2138740 42211096 349002864 20588330 5533446 32522068 256168676 280383910 0 44378600 301101820 8 97 32098 sdg1 19 3 44 70 0 0 0 0 0 70 70 8 98 80325 sdg2 413 15583 31992 3860 927 870 3596 285320 0 90660 289180 8 99 522112 sdg3 7936 36390 88652 56510 39575 396953 873702 7258090 0 411770 7314870 8 100 1 sdg4 5 0 10 50 0 0 0 0 0 50 50 8 101 522081 sdg5 42001 480802 1045624 265350 2120666 3122389 10534576 61742190 0 17743540 62009800 8 102 522081 sdg6 23550 359070 766080 441150 842741 1245479 4205730 24796750 0 7396610 25243530 8 103 1052226 sdg7 2198 27324 236058 116580 32003 538143 4561736 1668390 0 556900 1784980 8 104 1052226 sdg8 771 4144 39314 9930 667 34043 277720 332770 0 8510 342800 8 105 3148708 sdg9 255697 450674 5651890 1006570 458429 984720 11861512 80248710 0 5378990 81375860 8 106 2048256 sdg10 35505 295579 2648554 243190 13828 46659 501448 5807880 0 550320 6052160 8 107 1028128 sdg11 5 0 34 20 0 0 0 0 0 20 20 8 108 25551351 sdg12 1770598 40541524 338494522 18445200 2024610 26152812 223348656 98244240 0 22839040 116688190 8 112 209715200 sdh 6 27 12 0 0 0 0 0 0 0 0 8 113 1 sdh1 0 0 0 0 0 0 0 0 0 0 0 8 117 32772537 sdh5 0 3 0 0 0 0 0 0 0 0 0 8 118 32772568 sdh6 0 3 0 0 0 0 0 0 0 0 0 8 119 32772568 sdh7 0 3 0 0 0 0 0 0 0 0 0 8 120 32772568 sdh8 0 3 0 0 0 0 0 0 0 0 0 8 121 32772568 sdh9 0 3 0 0 0 0 0 0 0 0 0 8 122 32772568 sdh10 0 3 0 0 0 0 0 0 0 0 0 8 123 6538423 sdh11 0 3 0 0 0 0 0 0 0 0 0 8 124 6538423 sdh12 0 3 0 0 0 0 0 0 0 0 0 8 128 157286400 sdi 339911235 18 909464839 551171170 126768028 0 370905843 464191860 -752 -2125847892 346289472 8 129 1 sdi1 15 0 30 10 0 0 0 0 0 10 10 8 133 32772537 sdi5 204978494 3 466503031 352727340 29389958 0 85335372 137429600 -12 1925962654 -1275878454 8 134 32772568 sdi6 17669256 3 69576715 24759000 12681795 0 57649755 49327680 -24 1138598684 1861881016 8 135 32772568 sdi7 43753109 3 139810933 66335780 24498735 0 82761063 89328990 9 1922135234 196060894 8 136 32772568 sdi8 73121728 3 232582602 105974740 59918221 0 144521607 187323880 -117 1947480544 -722386950 8 137 26193951 sdi9 39 3 90 30 0 0 0 0 0 30 30 8 144 209715200 sdj 32686354 33 258867322 104879020 5376415 0 65524522 22382600 -44 669647610 -1982382444 8 145 1 sdj1 4 0 8 0 0 0 0 0 0 0 0 8 149 32772537 sdj5 24152336 3 101469556 72026190 4915 0 10273 5730 -7 666272870 560315426 8 150 32772568 sdj6 1769721 3 34077647 6994790 753556 0 1581487 3639340 -2 602026830 -731488410 8 151 32772568 sdj7 2984969 3 60569665 11698660 1 0 3 0 -1 606560680 -596498800 8 152 32772568 sdj8 3209015 3 61465928 12966040 1 0 3 0 5 667425910 -1038999556 8 153 32772568 sdj9 544891 3 1225962 1131030 2232549 0 30959754 8579590 0 2175690 9149390 8 154 32772568 sdj10 23 3 75 60 2363328 0 32920933 10079620 -1 74812760 -70404450 8 155 6538423 sdj11 24111 3 55676 60080 21666 0 51324 77740 0 58040 67640 8 156 6538423 sdj12 1242 3 2673 3850 399 0 745 790 0 3960 4590 8 160 157286400 sdk 333992780 24 853729477 537829080 120845743 0 233947493 418471160 -630 1937358074 401104320 8 161 1 sdk1 5 0 10 10 0 0 0 0 0 10 10 8 165 32772537 sdk5 202188904 3 453324332 342960840 26630275 0 51446450 106135910 -12 1606770104 1527229912 8 166 32772568 sdk6 17449347 3 69157808 24265210 12353491 0 24086370 42716000 -21 1925454144 1610283340 8 167 32772568 sdk7 42736713 3 136392479 65403610 24168378 0 48962569 88840790 23 1922137194 1816903868 8 168 32772568 sdk8 71233599 3 193878188 103845070 57416827 0 108825820 180056360 -116 -2125730172 87394714 8 169 26193951 sdk9 7 3 14 10 0 0 0 0 0 10 10 8 176 209715200 sdl 2 27 4 10 0 0 0 0 0 10 10 8 177 1 sdl1 0 0 0 0 0 0 0 0 0 0 0 8 181 32772537 sdl5 0 3 0 0 0 0 0 0 0 0 0 8 182 32772568 sdl6 0 3 0 0 0 0 0 0 0 0 0 8 183 32772568 sdl7 0 3 0 0 0 0 0 0 0 0 0 8 184 32772568 sdl8 0 3 0 0 0 0 0 0 0 0 0 8 185 32772568 sdl9 0 3 0 0 0 0 0 0 0 0 0 8 186 32772568 sdl10 0 3 0 0 0 0 0 0 0 0 0 8 187 6538423 sdl11 0 3 0 0 0 0 0 0 0 0 0 8 188 6538423 sdl12 0 3 0 0 0 0 0 0 0 0 0 8 192 157286400 sdm 198702 18 32600423 635920 5748159 0 129232158 53801040 0 347144210 -834380530 8 193 1 sdm1 4 0 6 0 0 0 0 0 -1 439520770 -439520770 8 197 32772537 sdm5 233 3 594 160 2714040 0 32677050 35978870 0 1485850 11607130 8 198 32772568 sdm6 40 3 107 20 265064 0 32649417 6751900 0 405740 449360 8 199 32772568 sdm7 126 3 294 150 196564 0 32900660 667940 0 330620 333550 8 200 32772568 sdm8 198254 3 32599272 635550 2572488 0 31005025 10402610 -2 94013690 -177923120 8 201 26193951 sdm9 7 3 32 10 0 0 0 0 0 10 10 8 208 209715200 sdn 32332843 27 256587508 107056600 5341269 0 64704518 22841440 -48 668583600 796234000 8 209 1 sdn1 8 0 16 30 0 0 0 0 0 30 30 8 213 32772537 sdn5 23887535 3 99763412 73750500 4894 0 9871 6010 -4 657689050 2111216550 8 214 32772568 sdn6 1763482 3 34913789 7201390 753783 0 1550237 3643690 -4 144438270 -446955650 8 215 32772568 sdn7 2952437 3 60457959 11863070 1 0 1 0 2 663375060 1388926310 8 216 32772568 sdn8 3163074 3 60172504 13075840 2 0 5 0 2 657516830 1276983290 8 217 32772568 sdn9 541275 3 1220870 1090940 2216318 0 30480254 8852660 0 2151200 9437010 8 218 32772568 sdn10 21 3 53 30 2344766 0 32615071 10247580 -1 75124060 -54536020 8 219 6538423 sdn11 23729 3 56084 72330 21093 0 48176 90980 0 55110 61910 8 220 6538423 sdn12 1242 3 2711 4080 412 0 903 690 0 4230 4750 8 224 157286400 sdo 2 18 4 0 0 0 0 0 0 0 0 8 225 1 sdo1 0 0 0 0 0 0 0 0 0 0 0 8 229 32772537 sdo5 0 3 0 0 0 0 0 0 0 0 0 8 230 32772568 sdo6 0 3 0 0 0 0 0 0 0 0 0 8 231 32772568 sdo7 0 3 0 0 0 0 0 0 0 0 0 8 232 32772568 sdo8 0 3 0 0 0 0 0 0 0 0 0 8 233 26193951 sdo9 0 3 0 0 0 0 0 0 0 0 0 9 0 286727680 md0 0 0 0 0 0 0 0 0 0 0 0