Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Verius (verius@community.highlandarrow.com)'s status on Wednesday, 28-Nov-2018 13:51:57 EST Verius Verius
    Ah, C++. Was trying to figure out why a access to a member of a class segfaulted. Noticed the rather weird pointer value 0x00000030. And yes, I did a parent_object->field() to get reference to the object I was interested in and parent_object was nullptr. But because all that method did was return a field which has a fixed offset in the object obviously the compiler just did pointer arithmetic without checking for null pointers. Makes perfect sense but it is a good reminder that null pointer dereference does not _need_ to segfault immediately.
    In conversation Wednesday, 28-Nov-2018 13:51:57 EST from community.highlandarrow.com permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.