pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pdf-devel] more notes on pdf-stm-f-a85.c


From: Cirilo Bernardo
Subject: [pdf-devel] more notes on pdf-stm-f-a85.c
Date: Sun, 5 Oct 2008 17:28:35 +1100

Yet more comments on the ASCII85 decoder:

1.  There is no overflow check (maximum 5-tuple should be 's8W-!', but
there are more efficient means of checking for an overflow as the
result is calculated).

2.  The memory handling is insufficient; in the current implementation
it is trivial to overflow the allocated memory - for example, just
make the input "zzz~>" - a perfectly valid stream.

- Cirilo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]