This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/3880] vfs.stp embedded-C functions need more deref() protection
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 17 Jan 2007 19:35:22 -0000
- Subject: [Bug tapsets/3880] vfs.stp embedded-C functions need more deref() protection
- References: <20070117191142.3880.fche@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From fche at redhat dot com 2007-01-17 19:35 -------
BTW, adding this to src/HACKING:
Embedded-C code should avoid making references to the runtime or
- other code possibly generated by the translator.
+ other code possibly generated by the translator. Embedded-C code that
+ dereferences pointers should use deref() type functions to check each
+ individual operation if there exists a possibility that the function may
+ be called with invalid pointers or pointer chains.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3880
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.