0

I am working on custom Linux build using yocto on raspberry pi4.

I have built one code where some string operation which process around 10kb string.

There is ssl certificate which has size around 5700 bytes stored into variable const char * cert[] =”cert…”.

When new connection requested, this buffer gets called and create separate memory location In heap, copy certificate there.

So each connection , there will separate copy of certificate in heap memory.

Whenever I do the any string operation , I am getting error of overflow buffer in runtime.

But same code runs smoothly on Debian Linux with same hardware.

Please tell me reason and help me out.

bala
  • 1

0 Answers0