Fix bug in JetPlayer::loadFromFile

A long pathname would corrupt the heap due to incorrect use of strncpy.

Also was using hard-coded constant 256 instead of PATH_MAX.

Change-Id: Iba382bbb38624fbc41fec91449f9814f77d4ac0d
2 files changed
tree: 7e4d4b45c01eddf9fe71248edc7ebd24f70d2fc5
  1. camera/
  2. cmds/
  3. drm/
  4. include/
  5. media/
  6. services/