Skip to content

Commit

Permalink
Added a FIXME.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Dec 10, 2008
1 parent 8e58ccf commit 462fe79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mojoshader_assembler.c
Expand Up @@ -206,6 +206,7 @@ static int _tokenize(Context *ctx)

while (1)
{
// !!! FIXME: carefully crafted (but legal) comments can trigger this.
if (idx >= sizeof (ctx->token))
return fail(ctx, "buffer overflow");

Expand Down

0 comments on commit 462fe79

Please sign in to comment.