Correct checking for well known functions: Properly check for __builtin_ prefix.
authorChristoph Mallon <christoph.mallon@gmx.de>
Wed, 14 Sep 2011 07:20:14 +0000 (09:20 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Wed, 14 Sep 2011 07:20:14 +0000 (09:20 +0200)
commit45e0172f1269ce946cf7ce784b1dd21ebc8659fd
tree829179c5e9181a0413579eeded55a2b254d18150
parent5345f922fd3e66b1127dab9005800de018352f0e
Correct checking for well known functions: Properly check for __builtin_ prefix.

The code checked for _..uiltin_ (. being arbitrary chars) or even crashed on strings shorter than 3 chars.
builtins.c