NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/50965: src/usr.bin/sort/msort.c: 2 * read uninit data ?



On Mar 13,  7:25pm, dcb314%hotmail.com@localhost (dcb314%hotmail.com@localhost) wrote:
-- Subject: bin/50965: src/usr.bin/sort/msort.c: 2 * read uninit data ?

| src/usr.bin/sort/msort.c:383]: (error) Uninitialized struct member: prec.data
| 
|     prec = malloc(offsetof(RECHEADER, data[DEFLLEN]));
|     prec_end = prec->data + DEFLLEN;
| 

The checker is wrong.

christos


Home | Main Index | Thread Index | Old Index