NO

Author Topic: POCC.EXE: Version 7.00.5 Input buffer overflow  (Read 2306 times)

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2107
POCC.EXE: Version 7.00.5 Input buffer overflow
« on: April 24, 2012, 10:28:41 AM »
Code: [Select]
test_error.c(6): fatal error #1043: Input buffer overflow.
« Last Edit: April 24, 2012, 11:30:05 AM by timovjl »
May the source be with you

CommonTater

  • Guest
Re: POCC.EXE: Version 7.00.5 Input buffer overflow
« Reply #1 on: April 24, 2012, 11:50:52 AM »
 :D So basically we shouldn't include 700 line comments?  Whatever shall I do??? :D

(Sorry guys, I just couldn't resist)
 

iZzz32

  • Guest
Re: POCC.EXE: Version 7.00.5 Input buffer overflow
« Reply #2 on: April 24, 2012, 12:07:17 PM »
CommonTater, I've seen several projects with API documentation kept in the .h file (not 700 lines at once though). For example there is 200-line (10KB) comment in sqlite3.h.

But the problem is not in comment:
 _T("test)";

Here the closing parenthesis is put inside the string literal, so the rest of the file is treated as the macro argument.
« Last Edit: April 24, 2012, 12:29:04 PM by iZzz32 »