#8 fixed overflow due to small stack variable

open
nobody
None
5
2005-06-06
2005-06-06
Marcus Meissner
No

iscsi-id.c has a target_path stack buffer which is too small,
since it can be copied SYSFS_PATH_MAX bytes in
called functions.

Just use "PATH_MAX" instead of MAX_NAME_LEN.

Patch attached.

Ciao, Marcus

Discussion

  • linux-iscsi-overflow.patch