Recent content by bodeplot

  1. bodeplot

    Nighthawk 4.0 arcade game now released (Open source, Supports Linux, OS/X)

    All, I'm pleased to announce that the Nighthawk 4.0 arcade game (a restored open source Linux game from the 90s) is available at the following web page: http://www.bluebarorange.ooguy.com/~...nighthawk.html For those that don't want to deal with building source code, there is a Debian package...
  2. bodeplot

    memory corruption in read()

    Depending on the situation, if it's an already used buffer, and you want to use it again: if (pnext != NULL) { pnext = realloc(pnext, <new size>); } Nb/ Your example only applies to operations on a global or local pointers. If you are performing these operatings on stack stored pointers...
  3. bodeplot

    memory corruption in read()

    If there is a condition that read() could load data into an unallocated pointer, then test it first. if (pnext == NULL) { <handle it> return; } <Buffer reading code>
  4. bodeplot

    memory corruption in read()

    As @JasKinasis implied, you need to use malloc(). I've reworked your code to make it tidier: /*msglen implied*/ int len; char *pnext; pnext = malloc(msglen); /*allocate dynamic memory*/ if (pnext == NULL) { printf("Could not allocate memory. Ending program.\n"); exit(-1); }...
  5. bodeplot

    New user saying hello :)

    Thanks for the offer KGill :) I've just changed by ISP carrier. As a result I lost of web space (which I only just got going again 2 months ago). Loosing this space has come at a really bad time. I had to scramble to change the URLs in the game I'm about to release. However, I might go with a...
  6. bodeplot

    New user saying hello :)

    What a beat up that was. I was writing back end software for an ISP then and didn't have demonstrate that type of compliance as my boss had a clue LOL :)
  7. bodeplot

    New user saying hello :)

    Thanks all for your replies :) @f33dm3bits, I've always had limited net access. So, my distribution of choice is one that is fairly bug free. I normally download two and choose the one that gives me less grief. For the past 5 years, I've been using Mint Linux. This was because it was one of the...
  8. bodeplot

    Nighthawk 4.0: A restored open source arcade game, Requesting alpha testers

    Thanks for helping @JasKinasis . Post any comments here. Wow, you go way back :)
  9. bodeplot

    New user saying hello :)

    Hi All, This looks like a really nice site :) I'm a Electronics Technician from Adelaide, South Australia. I'm exclusively a hardware dude now days. My current interests are RF filters and antenna design (hence my username). However, in a past life (in the 90s), I was a degree educated open...
  10. bodeplot

    Nighthawk 4.0: A restored open source arcade game, Requesting alpha testers

    No worries. Will do. Thanks for the reply :)
  11. bodeplot

    Nighthawk 4.0: A restored open source arcade game, Requesting alpha testers

    Hello all, This is my first post on this forum, and a return to the Linux community. Things have changed a bit since USENET and ftp.sunsite.edu :) I have restored an open source X-Windows arcade game I wrote in the 1990s called Nighthawk, which is based on a Commodore 64 game called Paradroid...
Top