r207573 - scanf analysis: handle scanlists that start with ^] (PR19559)

Kim Gräsman kim.grasman at gmail.com
Fri May 2 10:59:12 PDT 2014


Hi Hans,

Drive-by review...

On Tue, Apr 29, 2014 at 9:42 PM, Hans Wennborg <hans at hanshq.net> wrote:
>
> +  // Special case: "]^" are the first characters.
> +  if (I + 1 != E && I[0] == '^' && I[1] == ']') {

The comment says "]^" but the code is looking for "^]" -- I'm guessing
the code is right?

- Kim



More information about the cfe-commits mailing list