Hi, Leonard Rosenthol <leonardr@xxxxxxxxxxxxx> writes: > Found a couple of bugs (or at least what I believe to be bugs) in the > PSD plugin's read/load code. > > 1) It assumes that all PSD files with layers will have layer mask > data, range data and name. it should verify that the extra data > length is still valid on those items > > 2) It doesn't handle padded (or blank) layer names correctly. Names > are padded to four bytes, but the plug will only include the actual > data (or 1 for blank names) in the offset count. Though it skips them > later, it still should handle it better. > > If I find anything else, I'll let you know... you should get in contact with Adam D. Moss, the maintainer of the PSD plug-in (adam@xxxxxxxx). If you could provide a patch and/or some test cases that show the problems you describe, that would help a lot. Salut, Sven