[PATCH 3.5 68/90] iscsi-target: fix extract_param to handle buffer length corner case

2013-12-05 Thread Luis Henriques
3.5.7.27 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Seppanen commit 369653e4fb511928511b0ce81f41c812ff1f28b6 upstream. extract_param() is called with max_length set to the total size of the output buffer. It's not safe to allow a

[PATCH 3.5 68/90] iscsi-target: fix extract_param to handle buffer length corner case

2013-12-05 Thread Luis Henriques
3.5.7.27 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Seppanen e...@purestorage.com commit 369653e4fb511928511b0ce81f41c812ff1f28b6 upstream. extract_param() is called with max_length set to the total size of the output buffer. It's