Messages in this thread | | | From | "Raj, Ashok" <> | Subject | reading from invalid mem... | Date | Thu, 29 Jul 1999 15:43:36 -0700 |
| |
Hello.
I ran across this while testing my driver. I forgot to check for mmap failure for one case, and it returned -1. trying to access this space just hung this process, rest of system is fine. is this a known problem?
i tried a simple program like
main() { int *ptr, i; printf("reading illegal ptr\n"); ptr = (void *) -1; i = *ptr; }
this program never dies or can be killed.? this is 2.2 kernel on 2.0.36 this one core dumps as expected...
Cheers, ashokr
Plug-and-Play is really nice, unfortunately it only works 50% of the time. To be specific the "Plug" almost always works. --unknown source
---------------------------------------------------------------------------- ------------- Ashok Raj Phone : (503)-677-6928 NGIO Division Fax : (503)-690-4302 Core Software Group email : ashok.raj@intel.com M/S : CO3-208 ---------------------------------------------------------------------------- -------------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |