Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash with memcpy #5

Closed
AssociationSirius opened this issue Oct 28, 2015 · 0 comments
Closed

crash with memcpy #5

AssociationSirius opened this issue Oct 28, 2015 · 0 comments

Comments

@AssociationSirius
Copy link

with bug comment fixed:

Function tjei_encode_main crash at execution


When compile, GCC say:

In function ‘void* memcpy(void_, const void_, size_t)’,
inlined from ‘int tjei_encode_main(TJEState_, const unsigned char_, int, int, int)’ at tiny_jpeg.h:948:59:
/usr/include/x86_64-linux-gnu/bits/string3.h:53:71: warning: call to void* builtin___memcpy_chk(void, const void, long unsigned int, long unsigned int) will always overflow destination buffer
return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant