luqibin / grub4dos-chenall

Automatically exported from code.google.com/p/grub4dos-chenall
0 stars 0 forks source link

splashimage command does not work with long pathnames #192

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

command

splashimage 
/junk123450123456789/junk123450123456789/junk123450123456789/stripedflat.bmp.gz

fails  Error: 28: Selected item cannot fit into memory

splashimage /junk123450123456789/junk123450123456789/stripedflat.bmp.gz

works OK

root ()/junk123450123456789/junk123450123456789/junk123450123456789
splashimage /stripedflat.bmp.gz

WORKS OK

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
0.4.5c  Aug 2014

Please provide any additional information below.

seems to be a file path size problem. I have tried other long paths and they 
fail too. Around 64 bytes max ???

Original issue reported on code.google.com by Steve6375 on 7 Aug 2014 at 1:20

GoogleCodeExporter commented 9 years ago
the splashimage path is max 63 bytes.

if (strlen(arg) > 63)
        return ! (errnum = ERR_WONT_FIT);

Original comment by chenall.cn on 12 Aug 2014 at 9:14

GoogleCodeExporter commented 9 years ago
Can this be improved please (even if only max=127)

Original comment by Steve6375 on 12 Aug 2014 at 9:19

GoogleCodeExporter commented 9 years ago

Original comment by chenall.cn on 20 Aug 2014 at 12:28

GoogleCodeExporter commented 9 years ago
#176 attach 

Original comment by chenall.cn on 20 Aug 2014 at 10:28