-
Notifications
You must be signed in to change notification settings - Fork 117
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
Reorganizzation of Code #385
Conversation
Signed-off-by: ZigRazor <zigrazor@gmail.com>
of the Partitioner Class
Signed-off-by: ZigRazor <zigrazor@gmail.com>
|
||
unsigned int zippedBytes; | ||
zippedBytes = | ||
gzwrite(outFileZ, content_ptr, (unsigned int)strlen(content_ptr)); |
Check notice
Code scanning / Flawfinder (reported by Codacy)
Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). Note
Signed-off-by: ZigRazor <zigrazor@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I think it's a good idea to separate declarations and implementations, and also to put every algorithm in a single header. It will be much easier and quicker to find stuff now.
Just out of curiosity, why are some files |
Signed-off-by: ZigRazor <zigrazor@gmail.com>
Because the |
Ok thanks |
These modifies does not broke the interfaces, but are significatly reworked the organizations of files.
This PR is related also to issue #364