Users being logged in as someone else?

Discuss Supermodel and your favorite Model 3 games. Show off your latest threads, this is the place to see and be seen.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Users being logged in as someone else?

Postby orimarc » Tue Oct 12, 2021 2:02 am

First of all, I don't know if this is the correct sub-forum, but there's something FUCKY happening. I was checking the simualted netboard thread, and I found this post (viewtopic.php?f=3&t=1964&start=330#p19355):

orimarc wrote:How is this

Code: Select all
uint64_t testGUID;
memcpy(&testGUID, &recv_data[0], recv_data.size());


returning more than 8 bytes of data? I guess if you pack the sends together this might happen. The receive class should buffer until it receives an entire packet. With the exception to the size itself. I guess I could modify that to handle random amounts of data returned.

I mean in theory if this just returned 2 bytes instead of 4

Code: Select all
   int size = 0;
   int result = 0;

   result = SDLNet_TCP_Recv(m_receiveSocket, &size, sizeof(int));


The code would fall over.


I DIDN'T WRITE THAT. So, next time you're in the forum, make sure you're not somehow logged in as another user.
User avatar
orimarc
 
Posts: 115
Joined: Tue Sep 27, 2011 9:17 am

Re: Users being logged in as someone else?

Postby Ian » Tue Oct 12, 2021 6:53 am

yeah it's me
I'm not sure how it happened. I was logged in as myself then it just shows your account. It's not the first time it's happened, had it once or twice before. I assume it's some kind of database bug lol
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Re: Users being logged in as someone else?

Postby MrThunderwing » Tue Oct 12, 2021 9:47 am

I've seen this weird behaviour on another forum too, some guy was asking questions and it looked like they were logged in as me.
User avatar
MrThunderwing
 
Posts: 702
Joined: Fri Sep 02, 2011 11:31 am
Location: Bristol, UK


Return to The Catwalk

Who is online

Users browsing this forum: No registered users and 1 guest