V01D
Did that, didn't work.
Use gdb to find the location of the segfault
Vlad
Did that, didn't work.
Well you didn't initialize your vector properly
Indolent
Well you didn't initialize your vector properly
What would be the proper initialization?
Indolent
V01D
Kinda beyond my skill level
You should learn GDB then. You said you debugged the code
Vlad
What would be the proper initialization?
it should be vector<vector<int>> vec(N, vector<int>(M, 0));
V01D
Just break main, and type n until you get a segfault
V01D
Not the best way to do it, but whatever.
Sherlock
for the question on hackerrank named flatland space station my solution is not working for two test cases can anyone help me below is my code https://codeshare.io/G7zezD
Indolent
it should be vector<vector<int>> vec(N, vector<int>(M, 0));
God I did the same just missed that "0" after M
Sherlock
V01D
what man
Read the rules
V01D
what man
Focus on the part where it talks about sharing code
Sherlock
I have researched about it and then I am posting it
Indolent
Does it segfault now?
No it doesn't. Thank you for taking a look.
Sherlock
just say it I'll do it
Indolent
Although it doesn't outputs anything.
V01D
just say it I'll do it
The bot tells you to read the rules
Vlad
Although it doesn't outputs anything.
Lmao you don't output it
Indolent
Lmao you don't output it
Nah I mean there's a cout in the code but nothing is getting printed
Vlad
Nah I mean there's a cout in the code but nothing is getting printed
cout << psf << endl; You mean this one?
Vlad
You're passing an empty string to a function
Vlad
Ofc it won't output anything
Indolent
Yeah but there's a cin too
Vlad
It never gets inputed
Vlad
And you just pass an empty string
Indolent
I fill the maze first(cin >> a; maze[i][j] = a;) then pass that in sol()
Indolent
and that empty string gets filled too, recursively
Indolent
KILL THE INTRUDERS!!! THEY Invading your motherland
Vlad
I fill the maze first(cin >> a; maze[i][j] = a;) then pass that in sol()
Well, you are passing the copy, maybe that's the issue
Indolent
Vlad
Maybe I should try to pass by value?
You already do exactly that
Vlad
I'd recommend to debug it step by step
Vlad
And look into what values are
Indolent
O..okay
Roxifλsz 🇱🇹
Yeah, they'd probably be drowned in lawsuits
Roxifλsz 🇱🇹
Nope, no reverse engineering either, it's a cleanroom reimplementation of the windows APIs
Roxifλsz 🇱🇹
The headers and docs of the API are freely available, while the implementation isn't. They just reimplement the based on the headers and docs.
Roxifλsz 🇱🇹
Yes, it's an extremely large task
olli
not a lawyer but pretty sure it is illegal because afaik it got leaked and not released, so wine developers do not have a license to use it.
V01D
Nobody cares about the leak.
V01D
Links are, and will still be up. Same goes for the thread that leaks the source
professor
It was leaked , but you can use it to find bugs 😉
🫀
Hi everyone. I want to learn C programming language and I'd like to ask you which book you propose to me. P. S. I already know python
🫀
⁉️⁉️⁉️⁉️⁉️
V01D
⁉️⁉️⁉️⁉️⁉️
Just joking cuz you said you know python
V01D
It was leaked , but you can use it to find bugs 😉
Who cares about XP bugs anymore. I wanna make: everything wrong with winXP
professor
Who cares about XP bugs anymore. I wanna make: everything wrong with winXP
Not like that. It will be easier to write exploits now
professor
Yeap . No need to reverse engineering too much and just focus on manual audit
Nameful
Linux has always been open source and has an open model where people can audit the code before it is put into a release
Nameful
Not the case for Windows XP where it has been closed down until now (well, still is)
Anonymous
Like someone uses xp
Xp is now too old.
Anonymous
Every system has been upgraded now.
🫀
This?
🫀
D'accord merci bcp❤
V01D
Huh? There are many linux exploits. Check CVE
🫀
klimi
Its not
Harsha [M]
Many there..
V01D
https://www.exploit-db.com/ search for linux
Harsha [M]
I think credential stuffing became big headache for many companies.. even stackoverflow prone to it
V01D
Both have alot
Harsha [M]
There is no comparison dude
professor
I found many on the wild, but everyone focus on popular massive target
V01D
Linux most likely has more. A reason why it is very secure. A select few people exploit huge software with code (MS employees) and some people reverse engineering (takes forever) vs a project anyone can edit and play with. Bugs are found, reported and fixed quicker and more often in OpenSource projects
professor
I know that , but linux exploits not always goes to cve