diff options
| author | Anders Waldenborg <anders@0x63.nu> | 2014-04-25 06:25:15 +0000 |
|---|---|---|
| committer | Anders Waldenborg <anders@0x63.nu> | 2014-04-25 06:25:15 +0000 |
| commit | f3a1acfbf75b7b94e307a6ab0e1036602b96b8fd (patch) | |
| tree | 8add401e84eef5ee5f9e1dfa529c48851fb71151 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | 69d0cf06bc3ed24cd1059487d6aa77b7cc2421b9 (diff) | |
| download | llvm-f3a1acfbf75b7b94e307a6ab0e1036602b96b8fd.zip llvm-f3a1acfbf75b7b94e307a6ab0e1036602b96b8fd.tar.gz llvm-f3a1acfbf75b7b94e307a6ab0e1036602b96b8fd.tar.bz2 | |
[python] Fix getting section contents.
The returnvalue was handled as c_char_p which ment that ctypes
handled it as a NUL-terminated string making it cut the contents
at first NUL (or even worse - overrunning the buffer if it doesn't
contain a NUL).
Differential Revision: http://reviews.llvm.org/D3474
llvm-svn: 207199
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
