<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #2885: Buffer overflows in mutt_gecos_name



#2885: Buffer overflows in mutt_gecos_name

Comment (by vinc17):

 The fix is implementation-defined behavior, and a C implementation may
 generate a trap when converting an unsigned value into a signed value if
 the value is not representable in the signed type. I don't think gcc can
 do this yet, but this would be a good (optional) feature (in case of a
 bug, a trap being better than an undetected overflow for security
 reasons).

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/2885#comment:9>