[PATCH 3.8 83/91] uml: check length in exitcode_proc_write()

2013-11-07 Thread Kamal Mostafa
3.8.13.13 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 201f99f170df14ba52ea4c52847779042b7a623b upstream. We don't cap the size of buffer from the user so we could write past the end of the array here. Only root can

[PATCH 3.8 83/91] uml: check length in exitcode_proc_write()

2013-11-07 Thread Kamal Mostafa
3.8.13.13 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter dan.carpen...@oracle.com commit 201f99f170df14ba52ea4c52847779042b7a623b upstream. We don't cap the size of buffer from the user so we could write past the end of the