diff options
-rw-r--r-- | doc/HISTORY | 4 | ||||
-rw-r--r-- | lib/libpam.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/HISTORY b/doc/HISTORY index 0dd4dd08..e5348221 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -60,6 +60,10 @@ not yet BJH Release 10.63.00 because the color dictionary file was not openable. ppmtoxpm suffers from this. Broken in 10.15 (April 2003). + libnetpbm: fix bug: pnm_readpaminit and pnm_writepaminit set + 'opacity_plane' member of struct pam incorrectly. No Netpbm + programs are affected. + sparc64 pbmtog3: fix bug that causes crash due to unaligned memory access. diff --git a/lib/libpam.c b/lib/libpam.c index b4aaeb95..549f4c55 100644 --- a/lib/libpam.c +++ b/lib/libpam.c @@ -864,7 +864,7 @@ interpretTupleType(struct pam * const pamP) { if (pamP->size >= PAM_STRUCT_SIZE(have_opacity)) pamP->have_opacity = haveOpacity; if (pamP->size >= PAM_STRUCT_SIZE(opacity_plane)) - pamP->have_opacity = haveOpacity; + pamP->opacity_plane = opacityPlane; } |