[YAMos-dev] AllocStrBuf() DB statement

  • From: Gunther Nikl <gni@xxxxxxxx>
  • To: yamos-dev@xxxxxxxxxxxxx
  • Date: Mon, 24 Feb 2003 11:11:31 +0100

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: