summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-09-02Merge "Fix mistake introduced by commit 94122a8f011fc629" into halibuthalibut_8.0.6halibut_8.0.5halibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut/8.0.6halibut/8.0.5halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.18.0.68.0.58.0.48.0.38.0.28.0.1halibutJan-Simon Moeller1-1/+1
2019-08-28tsrecorder.c:Fix return value check of read()Li Xiaoming1-3/+7
If read() fails, it returns -1. It will generate unpredictable result when compare -1 and sizeof()'s size_t(unsigned) value. By the way, cast “ssize_t” to “size_t” to slience the warning. Bug-AGL:SPEC-2422 Change-Id: Ib56c1ebbcaaac48600a6747d5cc013c407dc14dd Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com> (cherry picked from commit ee6c0cc56304467061f9a60f3f96d07d741f327f)
2019-08-28Fix mistake introduced by commit 94122a8f011fc629Li Xiaoming1-1/+1
The second index should point to next arg. It's my fault in the former patch. Because strlen do no calculate the string termination character, the string length should plus 1. Bug-AGL: SPEC-2422 Change-Id: Iadf3a74d7e5ef813a054aa3c62e9bbd8e5f84371 Signed-off-by: wanglu <wang_lu@dl.cn.nexty-ele.com> Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com> (cherry picked from commit 9423094e94babea121d39cdb66123ccac48a2c65)
2019-08-28Merge "Fix index undefined warning" into halibutJan-Simon Moeller1-1/+2
2019-08-22Remove potential overflow risk & improve indentLi Xiaoming1-17/+20
The patch below does: 1) As d_name type may hold 255(NAME_MAX) characters at most, so I enlarge the array length to include the proper size. maxX and maxY are s32(int32) type(-2,147,483,648 ~ +2,147,483,647), which will cost 11 characters at most when writing to the arrary. Also silence the warning. 2) Replace sprintf with snprintf, a safer version; 3) Improve indent; 4) Remove debug sentence. Bug-AGL: SPEC-2422 Change-Id: I6d83a92a3138decd2bc9b750b9659d581a9f1b6b Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-08-06Fix index undefined warningLi Xiaoming1-1/+2
This patch will remove warning: "warning: operation on ‘index’ may be undefined [-Wsequence-point]" Bug-AGL: SPEC-2422 Change-Id: I7c3f630861da31af17ce1a0a415c79fc0acd6637 Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-07-09Add executable and display permissionshalibut_8.0.0halibut_7.99.3halibut/8.0.0halibut/7.99.38.0.07.99.3zheng_wenlong1-0/+6
Add executable permission to utils binaries. Include videoutils, tsrecorder, tsplayer. [Patch Set 2] Add display permission. Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com> Change-Id: I2b5ded9813289352ac2d319ba2f138d2205acd0d
2019-04-12Fix review problems:halibut_7.99.2halibut_7.99.1halibut/7.99.2halibut/7.99.17.99.27.99.1wanglu49-0/+5174
1.Add autobuild 2.Replace literal with notation in tsutils/tsrecorder/tsrecorder.c 3.Update LICENSE and COPYRIGHT This is a logging app with following functions included: 1.video recording 2.Audio recording 3.Can data recording & playing 4.Screen touch event recording & playing Change-Id: Id7942e16f87e69d25240f4985d3c47bc262d25c2 Signed-off-by: wanglu <wang_lu@dl.cn.nexty-ele.com>
2019-03-13Initial empty repositoryJan-Simon Moeller0-0/+0