summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-01-29Add gitreview file for icefish branchicefish_9.0.4icefish_9.0.3icefish_9.0.2icefish_9.0.1icefish_9.0.0icefish/9.0.4icefish/9.0.3icefish/9.0.2icefish/9.0.1icefish/9.0.09.0.49.0.39.0.29.0.19.0.0icefishJan-Simon Möller1-1/+1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I86e13a106af0e3b12f50852810c15cebd74954ec
2019-08-28tsrecorder.c:Fix return value check of read()needlefish_13.93.0needlefish/13.93.0marlin_12.93.0marlin_12.92.0marlin_12.91.0marlin_12.90.1marlin_12.90.0marlin/12.93.0marlin/12.92.0marlin/12.91.0marlin/12.90.1marlin/12.90.0lamprey_11.92.0lamprey_11.91.0lamprey/11.92.0lamprey/11.91.0koi_10.93.0koi_10.92.0koi_10.91.0koi/10.93.0koi/10.92.0koi/10.91.0jellyfish_9.99.4jellyfish_9.99.3jellyfish_9.99.2jellyfish_9.99.1jellyfish/9.99.4jellyfish/9.99.3jellyfish/9.99.2jellyfish/9.99.1icefish_8.99.5icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.5icefish/8.99.4icefish/8.99.3icefish/8.99.2icefish/8.99.19.99.49.99.39.99.29.99.18.99.58.99.48.99.38.99.28.99.113.93.012.93.012.92.012.91.012.90.112.90.011.92.011.91.010.93.010.92.010.91.0Li 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>
2019-08-26Fix 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>
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