DEV Community

Mahmoud Salama
Mahmoud Salama

Posted on

Achievement Deserialized!

Finally conquered C deserialization! I figured out that a function was setting the address of a main loop variable to the address of a local variable in the function (which gets popped duh - misleading garbage values were everywhere) instead of setting the data in the main loop! The more you know!

PS: I'm working on a unix domain socket daemon that handles and manages inotify watch requests to automate a boring part of my job! #c #unix #linux #beginners

Top comments (2)

Collapse
 
ben profile image
Ben Halpern

Congrats!

Collapse
 
madsalama profile image
Mahmoud Salama

Thanks man!