Re: Validate a pointer
From: Bryan Bullard (replay_at_to.group.com)
Date: 12/10/04
- Next message: Erik Max Francis: "Re: Validate a pointer"
- Previous message: Bryan Bullard: "Re: Validate a pointer"
- In reply to: Måns Rullgård: "Re: Validate a pointer"
- Next in thread: Chuck Dillon: "Re: Validate a pointer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 10 Dec 2004 20:00:13 GMT
"Måns Rullgård" <mru@inprovide.com> wrote in message
news:yw1xis7a3uqy.fsf@ford.inprovide.com...
> "Bryan Bullard" <replay@to.group.com> writes:
>
> > Hi, what the most UNIX standard way of validating that an address can be
> > read or written to?
>
> Writing your program in such a way that you know what your pointers
> are pointing to in the first place. Anything else is bound to break
> in some situation.
This is for a library that needs to test the range of a pointer that the
caller passes.
- Next message: Erik Max Francis: "Re: Validate a pointer"
- Previous message: Bryan Bullard: "Re: Validate a pointer"
- In reply to: Måns Rullgård: "Re: Validate a pointer"
- Next in thread: Chuck Dillon: "Re: Validate a pointer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|