mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 06:22:20 +00:00

should be (strlen(unixPath) + 2) instead of (strlen(unixPath) * 2). This is because for a zero-length unixPath, the macPath is ":", which needs two bytes. Thanks to Patrick Beard <beard@netscape.com> and Steve Dagley <sdagley@netscape.com> for reporting the bug and suggesting a fix.