[mac] Fix handling of malformed Mac suitcase files.

This is only relevant on macOS platforms.

* builds/mac/ftmac.c (lookup_lwfn_by_fond): Correctly handle and check
  `base_lwfn`, which is a Pascal string.

  (read_lwfn): Check PFB chunk size.

Fixes issue #1481.
1 file changed