Wykres commitów

16 Commity (ec180bdda812f7f2fa79602e25f899f4a4f7e673)

Autor SHA1 Wiadomość Data
Michael Black ee87d5e6df Fix buffer overrun in all utilities
Change MAXCONFLEN to 1024 bytes for some future proofing
2020-04-01 14:51:50 -05:00
Michael Black bda5feb1bd More cppcheck changes 2020-03-23 10:13:02 -05:00
Michael Black e37b9d9a8b
Fix cppcheck warning in rigsmtr.c 2020-01-14 12:19:16 -06:00
Michael Black 7ee3a702f5
Replace all usleep with hl_usleep
Several places where usleep max value could be overflowed
New hl_usleep can take values > 1000000
2020-01-07 23:18:56 -06:00
Michael Black 17fb84044f
Fix cppcheck warning in rigsmtr.c 2019-12-23 23:13:40 -06:00
Michael Black 475012771b
Fix cppcheck warning in rigsmtr.c 2019-12-23 23:11:36 -06:00
Michael Black 6bf3b00c4f
astyle all files 2019-11-30 10:19:08 -06:00
Michael Black 2f4d62709e
Added a dummy snprintf to rig_debug to allow gcc to check format strings
This found tons of errors in rig_debug statements
So this patch cleans up all the files that were producing warnings or errors
This should fix a few segfaults when running with debug turned on
2019-11-30 10:04:31 -06:00
Nate Bargmann b692fb22ef Formatted tests/ to final coding guidelines 2017-10-06 18:58:42 -05:00
Nate Bargmann d489b8bcb5 Apply formatting to 'tests/' directory
Format per style guide.
2017-08-10 05:46:12 -05:00
Nate Bargmann 1229a0a42a Assure NULL terminated strings in tests programs.
Various strncpy operations could result in a port pathname that is not a
NULL terminated string as the allowed string length is the same size as
the buffer per the strncpy manual page.  This is corrected by assuring
that the allowed length is FILPATHLEN - 1.
2012-01-07 20:36:50 -06:00
Nate Bargmann 96b1460e24 Remove set but unused variable errors in tests. 2011-08-26 15:07:40 -05:00
Nate Bargmann 0882cd696d Update GPL/LGPL header in tests source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:37 -05:00
Kamal Mostafa, KA6MAL cf276991f2 Fix segfault on improper -C syntax
Avoid null pointer segfault when -C param is specified with no '=' e.g.
"rigctl -C foo".

Thanks to Charles Suprin <hamaa1vs@gmail.com> for the report.



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3058 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-21 19:32:00 +00:00
Stéphane Fillod, F8CFE 3fef5306eb fix sleep step and degree chars
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2270 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-01-05 15:06:35 +00:00
Stéphane Fillod, F8CFE bc2f026bee initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2197 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-05-21 20:02:57 +00:00