Open Bug 1902163 Opened 3 months ago Updated 2 months ago

nsIMsgCopyService.copyFolder() doesn't detect infinite recursion.

Categories

(MailNews Core :: Backend, defect)

Thunderbird 127
defect

Tracking

(Not tracked)

People

(Reporter: benc, Assigned: benc)

References

(Blocks 1 open bug)

Details

nsIMsgCopyService.copyFolder() will happily attempt to try and move a folder into one of it's own children.
It does fail, but only because it starts generating ridiculously long filenames which go over the filename length limit.

It should check for the infinite-recursion case and fail early.

Assignee: nobody → benc

Presumably this is an old issue, 127 or prior?

Version: unspecified → Thunderbird 127

No, I think it's still an issue, but not a problem which arises often because the GUI stops you doing anything so stupid :-)

You need to log in before you can comment on or make changes to this bug.