[poppler] 13 commits - fofi/FoFiType1C.cc glib/poppler-action.cc glib/poppler-document.cc glib/poppler-page.cc makefile.vc poppler/ArthurOutputDev.cc poppler/CairoOutputDev.cc poppler/CharCodeToUnicode.cc poppler/Error.cc poppler/Gfx.cc poppler/G
Behdad Esfahbod
behdad at behdad.org
Tue Sep 25 14:30:35 PDT 2007
On Tue, 2007-09-25 at 13:38 -0400, Kristian Høgsberg wrote:
>
> A nice patch would be to introduce a macro such as CHECK_OVERFLOW(a,b)
> that implements the above check, which makes the code more readable
> and isolates the implementation of this tricky check in place. But
> the checks have to stay.
Cairo has a bunch of macros that do this, though written as malloc
replacements:
http://gitweb.freedesktop.org/?p=cairo;a=blob;h=ad22851b1070dcc4736ede887a5d600c4d1af71c;hb=f1d84271d363cc80cdef92ec9cac2cf29783bfe0;f=src/cairo-malloc-private.h
--
behdad
http://behdad.org/
"Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin, 1759
More information about the poppler
mailing list