Fix potential buffer overflow in use of strncat
Summary: There is a bug in ElfFile using strncat which could cause buffer overflows when a previous file open failed. strncat only limits based on the src length, and so if strlen(dest) > 0 this could have overflowed. Reviewed By: anakryiko Differential Revision: D13398108 fbshipit-source-id: 793c35884f1e639f36758f36046158858fd5976a
Showing
Please register or sign in to comment