mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-14 13:35:43 +00:00
Bad Memset #230
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sidgairo18 on GitHub (Jan 8, 2017).
Was it intended to use '0' i.e. asci value 48 or should it be just 0 - the decimal number ?
bad_memset: "memset" with fill value "'0'" (the zero character) in
memset(filename + m, 48, strlen(num) - strlen(temp))@cfsmp3 commented on GitHub (Jan 8, 2017):
Seems to be left padding a string with '0' so it's probably correct but what file is it?
@sidgairo18 commented on GitHub (Jan 8, 2017):
File src/lib_ccx/params.c line 159.
@cfsmp3 commented on GitHub (Jan 8, 2017):
This is what I have:
memset (filename+m,'0',strlen (num)-strlen (temp));
It's correct - we want '0', not 0.