Skip to content
Commit a325cb9f authored by Gregory Nutt's avatar Gregory Nutt
Browse files

sscanf(): NuttX libc tried to guess how many characters to parse, extracted...

sscanf(): NuttX libc tried to guess how many characters to parse, extracted them into a buffer, then ran strtol() on that buffer. That guess is often wrong. A better approach would be to call strtol() directly on the input data, using the endptr return value to determine how many characters to skip after parsing.  From Kosma Moczek
parent a8d7772a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment