725 Commits

Author SHA1 Message Date
gozfree
bffbfd25af [libvector] fix repeated vector_next with tmp_cursor 2023-07-25 00:09:41 +08:00
gozfree
7efee34b0a [cmake] fix make file on mingw on windows 2023-07-17 01:12:01 +08:00
gozfree
2e749b9d0a [cmake] support most libxxx with cmake on ubuntu 2023-07-16 23:55:05 +08:00
gozfree
01ad9901e9 [cmake] fix issue #99 #100, check mingw on window 2023-07-16 21:43:29 +08:00
gozfree
5a97d29da2 [libposix] achieve simple c reflection 2023-05-28 00:41:44 +08:00
gozfree
508b06c523 Merge pull request #96 from IVOES/fix-bad-strncpy-size
Use size of destination as third argument of strncpy()
2023-05-27 19:08:45 +08:00
gozfree
a0854bd11e Merge pull request #95 from IVOES/fix-offset-use-before-range-check
Fix offset used before range check
2023-05-27 19:06:31 +08:00
gozfree
c9162ed5dc Merge pull request #94 from IVOES/fix-missing-check-scanf
[librtmpc] Check return value of sscanf()
2023-05-27 19:04:49 +08:00
gozfree
05364f3178 Merge pull request #93 from IVOES/fix-badly-bounded-write
Fix badly bounded write
2023-05-27 19:03:22 +08:00
gozfree
93d04a5802 Merge pull request #91 from IVOES/fix-unbounded-write
Fix unbounded write
2023-05-27 18:57:34 +08:00
gozfree
a9cbf4a2ea Merge pull request #90 from IVOES/fix-inconsistent-null-check
Check return values of calloc()
2023-05-27 18:55:53 +08:00
Mingjie Shen
3b8ad1f386 Use size of destination as third argument of strncpy()
Calling 'strncpy' with the size of the source buffer as the third
argument may result in a buffer overflow.
2023-05-13 00:20:40 -04:00
Mingjie Shen
c0b468c6e3 Fix offset used before range check
This use of offset 'rank' should follow the range check.
2023-05-12 23:51:31 -04:00
Mingjie Shen
d891d13945 [librtmpc] Check return value of sscanf() 2023-05-12 18:07:50 -04:00
Mingjie Shen
576c269ad4 Fix badly bounded write
This 'call to snprintf' operation is limited to 16384 bytes but the
destination is only 8192 bytes.
Fix by making the buffer bigger and calling snprintf with the correct
size argument.
2023-05-12 17:32:04 -04:00
Mingjie Shen
78c602a38f Fix unbounded write
1. Use snprintf() instead of sprintf()
2. Specify max field width for "%s" in scanf()
2023-05-12 16:30:40 -04:00
Mingjie Shen
ab6a9d5975 Check return values of calloc() 2023-05-12 16:00:19 -04:00
gozfree
5e1947fd7b 1.update build.sh for multi argument parsing
2.fix libhash depdency
3.add ASAN check into makefile
2023-04-16 23:41:47 +08:00
gozfree
e646926b4e Merge pull request #84 from luhuadong/master
docs: add libuvc-dev dependency
2023-02-18 22:37:38 +08:00
luhuadong
26e71b0990 docs: add libuvc-dev dependency 2023-02-18 12:57:38 +08:00
gozfree
57f2a418a7 [libdict] fix dict_lookup return NULL
bug is from 02db43e0d0
	but need find why the patch merged
2023-02-12 11:04:50 +08:00
gozfree
c6637864bb [libplugin] fix fd_leak of plugin_load 2023-01-27 21:29:22 +08:00
gozfree
53dee1a5ea [libhash] fix return of get_and_del 2023-01-27 21:17:08 +08:00
gozfree
1e8bdfe539 Merge branch 'gitee' 2022-10-15 21:31:41 +08:00
gozfree
751d87e9ef Update INSTALL.md
there is comple issue on mingw/cygwin, and need go on porting, so change the supported status
2022-09-12 10:29:04 +08:00
gozfree
254a9a4aff !2 解释libconf库的两处bug
Merge pull request !2 from hany/master
2022-07-18 23:47:28 +00:00
hany_li
ce25a8b8b6 1. fix因野指针产生的段错误问题;
2.fix文件不能一次读完的问题;
2022-07-18 10:56:16 +08:00
gozfree
f5683ecd17 [libworkq] fix find idle workq 2022-06-12 23:25:48 +08:00
gozfree
7d1897790c [libworkq] fix find idle workq 2022-06-12 23:24:25 +08:00
gozfree
c4aac2ecec Merge pull request #74 from dianjixz/master
fix  build/c_cpp_project_framework/examples/demo1
2022-06-12 20:32:40 +08:00
dianjixz
59f2010043 fix build/c_cpp_project_framework/examples/demo1 2022-06-06 23:35:23 +08:00
gozfree
54b2729975 manually merge from https://github.com/gozfree/gear-lib/pull/73 1.add libcollections, libhttpd, libutf2gbk 2.add c_cpp_project_framework support 2022-06-04 23:27:44 +08:00
gozfree
02db43e0d0 [libdict] fix dict_del successfully before dict_add 2022-05-31 23:39:46 +08:00
gozfree
95fcd68d11 fix part of compile error on windows with mingw32 cmake 2022-05-31 21:51:30 +08:00
gozfree
c561437cef porting more libs to esp32 2022-05-24 00:21:52 +08:00
gozfree
e9dd79e20d update msvc 2022-05-23 22:19:29 +08:00
gozfree
867a76e64f update on msvc, libavcap work well on window10 2022-05-23 21:40:38 +08:00
gozfree
fb33fb4448 [libconfig] add set int/string/bool/double api 2022-05-22 22:41:48 +08:00
gozfree
c9deef0f62 1.remove libuvc and libuac, replace with libavcap
2.update libbitmap from kernel
3.update libstrex
2022-05-16 00:26:05 +08:00
gozfree
3cdb944f80 [libstrex] move base64 into string extension 2022-05-15 21:55:31 +08:00
gozfree
41f5f422ed [libstrex] update with string api 2022-05-09 19:24:32 +08:00
gozfree
199b9e0e11 fix cross compile arm/pi 2022-05-09 10:42:37 +08:00
gozfree
4ad650d4b6 [libhomekit] update, not verify 2022-05-01 00:32:40 +08:00
gozfree
576474cf93 [libhomekit] compile ok on linux, not verify 2022-04-29 23:23:42 +08:00
gozfree
f672e91816 [esp32] update demo with button, led and camera 2022-04-29 01:12:05 +08:00
gozfree
db1f5fceb5 1.support gear-lib on esp32
2.add esp32_cam to libavcap
2022-04-28 00:42:15 +08:00
gozfree
81a88f16f0 [libavcap] add xcb grab desktop screen (unfinished)
[libmedia-io] add some rgb format
2022-04-26 23:57:45 +08:00
gozfree
e25497303e adapt compile on esp32 2022-04-25 22:15:49 +08:00
gozfree
c415765958 adapt cmake on msys2 2022-04-25 15:18:24 +08:00
gozfree
dfe4c8ee56 [libavcap] add pulseaudio to avcap backend 2022-04-21 23:48:25 +08:00