diff options
author | Youngbok Shin <youngb.shin@samsung.com> | 2017-08-04 12:25:52 +0900 |
---|---|---|
committer | Youngbok Shin <youngb.shin@samsung.com> | 2017-08-04 12:25:52 +0900 |
commit | d49e82ff8c57a80bcc56d7aab229231db02a2d1a (patch) | |
tree | 58ddabc0f55ac9b7f46b5bf41ab32cccaa66869b | |
parent | 4439f2f4e19d7dec3d12a9feb893a4900f4acc32 (diff) | |
download | download-fonts-service-tizen_4.0.tar.gz download-fonts-service-tizen_4.0.tar.bz2 download-fonts-service-tizen_4.0.zip |
remove improper sizeof use case for pointertizen_4.0.m2_releasetizen_4.0.IoT.p2_releasetizen_4.0.IoT.p1_releasesubmit/tizen_5.0/20181101.000005submit/tizen_4.0/20170828.100004submit/tizen/20170810.044648accepted/tizen/unified/20170810.172521accepted/tizen/5.0/unified/20181102.023507accepted/tizen/4.0/unified/20170829.020230tizen_5.0tizen_4.0accepted/tizen_5.0_unifiedaccepted/tizen_4.0_unified
Change-Id: I041c4460a232f33118a08bc13a64683b587cf026
-rwxr-xr-x | pkgmgr_font/src/font_service_register.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgmgr_font/src/font_service_register.c b/pkgmgr_font/src/font_service_register.c index e78d85d..52a3ae6 100755 --- a/pkgmgr_font/src/font_service_register.c +++ b/pkgmgr_font/src/font_service_register.c @@ -225,7 +225,7 @@ static int copy_file(const char *srcpath, const char *destpath) { goto FAIL; } - while ((len = fread(buf, sizeof(char), sizeof(buf), in)) != 0) + while ((len = fread(buf, sizeof(char), COPY_BUF_SIZE, in)) != 0) { if (fwrite(buf, sizeof(char), len, out) == 0) { |