rmtfs: fix segfault

shadow_len is size_t and therefore cannot be negative. Cast both
parameters to ssize_t (which is signed) to correctly use the following
"if (n > 0)"
1 file changed
tree: dd33baa3cd8b3181e4e9ba42db99043e8e0fd8fe
  1. axolotl/
  2. beryllium/
  3. build/
  4. enchilada/
  5. etc/
  6. gralloc/
  7. health/
  8. liblight/
  9. libmemtrack/
  10. overlay/
  11. prebuilt-kernel/
  12. qcom/
  13. seccomp_policy/
  14. sepolicy/
  15. Android.bp
  16. Android.mk
  17. AndroidProducts.mk
  18. axolotl.mk
  19. beryllium.mk
  20. BoardConfigCommon.mk
  21. common.kl
  22. compatibility_matrix.xml
  23. device-common.mk
  24. enchilada.mk
  25. init.common.rc
  26. init.common.usb.rc
  27. manifest.xml
  28. README.md
  29. ueventd.common.rc
README.md

device/generic/sdm845 (AOSP device config for SDM845 devices)

This device repo aims to support booting AOSP on SDM845 devices supported by the mainline Linux kernel.

For more information, please check out the wiki.