Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IA64] Handle count==0 in sn2_ptc_proc_write()
The fix applied in e0c6d97 "security hole in sn2_ptc_proc_write" didn't take into account the case where count==0 (which results in a buffer underrun when adding the trailing '\0'). Thanks to Andi Kleen for pointing this out. Signed-off-by: Cliff Wickman <[email protected]> Signed-off-by: Tony Luck <[email protected]>
- Loading branch information