[Top][All Lists]

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

Re: valid_pointer_p

From: Kim F. Storm
Subject: Re: valid_pointer_p
Date: Sat, 12 Aug 2006 00:58:05 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> Well, I figured that much.  But we do know the length of each object,
> so we could validate exactly what is needed, right?  Just add another
> argument to valid_pointer_p that tells it how many bytes to validate.

The problem is that you have to deref the pointer to know the length
of the object...

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

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