OpenSolaris

Printable Version Enter a New Search
Bug ID 6743213
Synopsis lofi ioctl filename should be MAXPATHLEN
State 10-Fix Delivered (Fix available in build)
Category:Subcategory driver:lofi
Keywords
Responsible Engineer Dina Kurktchi
Reported Against
Duplicate Of
Introduced In solaris_8
Commit to Fix snv_104
Fixed In snv_104
Release Fixed solaris_nevada(snv_104)
Related Bugs 4926125
Submit Date 29-August-2008
Last Update Date 4-December-2008
Description
The lofi driver include file originally declared struct lofi_ioctl with:
        char    li_filename[MAXPATHLEN + 1];
It should have been changed to
       char	li_filename[MAXPATHLEN];
but other code has been integrated that perpetuates the "+1".  This brings everybody back to the same page.
Work Around
N/A
Comments
N/A