K 10
svn:author
V 3
lev
K 8
svn:date
V 27
2011-11-06T17:39:22.000000Z
K 7
svn:log
V 386
  Add new patch from upstream:

This fixes an error when calculating strlen on an auto-storage char array that
happens be zero bytes offset from the stack pointer.

extern unsigned int strlen (const char *s);
void setval (char* str, int len);
void useval (const char* str, unsigned char len);

void tryit ()
{
  char tmp[17];
  setval (tmp, sizeof(tmp));
  useval (tmp, strlen(tmp));
}

END
