tech-kern archive

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

re: Usage of strncpy in the kernel



> - Zero-filled the rest of stack using the same.

this is the key part and why it is a valid transformation -- 
the whole buffer is initialised, like strncpy says.


.mrg.


Home | Main Index | Thread Index | Old Index