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 ?
The following reply was made to PR bin/50965; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Cc:
Subject: Re: bin/50965: src/usr.bin/sort/msort.c: 2 * read uninit data ?
Date: Sun, 13 Mar 2016 15:56:08 -0400
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