On Sat, 2022-03-12 at 19:15 +0100, Michal Sudolsky wrote: > How did you apply that patch?
Hi, I applied it as always, `patch -p1 <file.patch`. > There are two places where this change can happen... Aha, I see, the `patch` applied too early: patching file doc/PdfFontTTFSubset.cpp Hunk #1 succeeded at 65 with fuzz 2 (offset -5 lines). I did not pay any attention to the offset, because it's quote common that long standing patches do not apply cleanly. I also did not expect this could apply on two places. Though the current sources have: inline short Big2Little(short big) { return Big2Little(static_cast<unsigned short>(big)); } which is different from the patch (and which explains why the `patch` applied it with the offset). Is the undefined behavior fixed with the current trunk? Bye, zyx _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users