Constanzo, #157106, #157118) - proper read longs and shorts in libpm.c (David Constanzo, #157110) - fix segfault in bmptopnm caused by freeing an uninitialized pointer