steleman / address-sanitizer

Automatically exported from code.google.com/p/address-sanitizer
0 stars 0 forks source link

Asan should check for overlapping strings in sprintf #371

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
C says that string operands of sprintf must not intersect with output buffer. I 
suggest to add such check to sprintf interceptor like we already do for memcpy.

Original issue reported on code.google.com by tetra20...@gmail.com on 14 Jan 2015 at 9:11