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

Bug#717195: linux-kbuild-3.10: modpost wrapper crashes due to bad getline call



On Wed, 2013-07-17 at 15:54 -0400, Aaron M. Ucko wrote:
> Package: linux-kbuild-3.10
> Version: 3.10-1
> Severity: important
> 
> debian/build/scripts/mod/modpost passes getline pointers to
> uninitialized name and name_len variables, leading to crashes under
> some circumstances.  According to getline's manpage, initializing name
> to NULL should let the call reliably succeed, albeit with a memory
> leak (which you can probably ignore in this case).  Could you please
> look into it?

Sorry about that.  I had assumed that Chris's change to the modpost
wrapper was sufficient to make it work for 3.10, but then after
uploading linux I found that it wasn't.  So I was in a bit of a hurry to
get that done and upload linux-tools.  Surprisingly, an amd64 build
worked, so I didn't notice this.

Ben.

-- 
Ben Hutchings
Humans are not rational beings; they are rationalising beings.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: