On Sat, Jul 06, 2013 at 05:21:31PM +0200, Maxime Villard wrote: > Hi, > - - - - sys/kern/exec_elf.c l.236 ~> 251&252 > Are my code scanner and me wrong, or 'bdiff' may not be > initialized ? >
Codewise it does look possible that bdiff will be used uninitialized. Whether it can happen in reality depends on whether ph->p_align can ever be < 1. Next question -- what would the correct value for bdiff be in that case? 0? i.e. should the line be 'diff = bdiff = 0;'. .... Ken