[YAMos-dev] AllocStrBuf() DB statement

Hello!

I just noticed this weird debug state,ment in YAM_UT.c/AllocStrBuf():

  DB(if(initlen > 65536) kprintf("ERROR: AllocStrBuf() overrun !!\n");)

What purpose does this test have? What is so special with 65536?

Gunther
_______________________________________________________________________
YAMOS developers mailing list - http://www.freelists.org/list/yamos-dev
Listserver help.......: yamos-dev-request@xxxxxxxxxxxxx, subject "HELP"
Unsubscribe....: yamos-dev-request@xxxxxxxxxxxxx, subject "UNSUBSCRIBE"

Other related posts: