ido / libvma-old

Automatically exported from code.google.com/p/libvma
Other
0 stars 1 forks source link

vlogger: pass buffer as string in fprintf #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

The buf may contain special characters like '%' which may be interpreted
by fprintf.  As an example this can occur when the command run under
VMA has arguments that are escaped for example:

LD_PRELOAD=libvma.so /bin/echo 
"ts_keywords=type:tr_delay%20host:foo%20venue:isld%20source:nasdaq"

Always pass the buffer as a string.

Original issue reported on code.google.com by shawn.bo...@gmail.com on 3 Jan 2014 at 11:52

Attachments:

GoogleCodeExporter commented 9 years ago
thanks,

pushed to repo - 
https://code.google.com/p/libvma/source/detail?r=f79ef8f7f83c6f62f144956a9921f17
8d93b5d9f

Original comment by orkmella...@gmail.com on 6 Jan 2014 at 1:52