Message from C, C++ talks

July 2019

— Someone know some Qt5 IMAP libraries?

— I am getting Heap-buffer-overflow at some point in this small code, I fail to understand why.
Till line#18, I could print the returnSize array content very well..then how is this a heap-overflow?

Message permanent page

— Hello

— Hello

— 

If a and b are pointing to the same address and it's not lost, why can't I access the array from inside main?

— You change b and return it, but dont save return in main

— I didn't get save return in main part

— A = foo(a)

— Yes, I do change b, but the address which b is pointing to is what a is also pointing to.

— When you change b, a remains unchanged

— I deliberately didn't do that.
Reason: malloc does allocation in a heap segment. That segment is available until we free or terminate the program.
Now b is pointing to contiguous blocks of 4 ints. So, if I know address contained in b, I should be able to know about values also that are contained in those 4 blocks, shouldn't I?

Message permanent page

— I am seeing openssl/md5.h and hex.h for.the very first time.

— Might be that are the header files created by him

Because our own created header files are not written like the standerd header file are writeen
So it is written like
#include"anything.h"

Message permanent page

— So that hex.h are header file created by him for any of his specific need

— I was also thinking about it and what about openssl/md5 ? That is also written by him ?