Fixup array1dTo2d and print utilities.

- The mananer in which handled nonzero rows and zero columns were
incompatible, resulting field crash.
- There was no handling of malloc failures.

Bug: 138535981
Test: Run Dumpstate commands.
Change-Id: Iaf3fbf9377ab9da519f759015b4493f0e35e6836
Signed-off-by: Harpreet "Eli" Sangha <eliptus@google.com>
1 file changed
tree: 7a0a8c3c9a791f0dc870eb6c594f7b3b0a3b09dd
  1. fts_lib/
  2. fts.c
  3. fts.h
  4. fts_limits.h
  5. fts_proc.c
  6. Kbuild
  7. Kconfig
  8. Makefile