Kaynağa Gözat

[text] TextLength() security check

pull/1104/head
Ray 5 yıl önce
ebeveyn
işleme
39e73ccc4d
1 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  1. +4
    -1
      src/text.c

+ 4
- 1
src/text.c Dosyayı Görüntüle

@ -1147,7 +1147,10 @@ unsigned int TextLength(const char *text)
{
unsigned int length = 0; //strlen(text)
while (*text++) length++;
if (text != NULL)
{
while (*text++) length++;
}
return length;
}

Yükleniyor…
İptal
Kaydet