trick/trick_source/trick_utils/comm/src
Alex Lin ad42376d5e
Variable Server byteswapping crashes the sim #1513 (#1514)
* Variable Server byteswapping crashes the sim #1513

The code to byteswap a variable server buffer has a comment saying there is a bug. The comment is
correct.  The original code would swap the parameter and anything else that followed that parameter
in the structure.  Crashes everywhere.  Created a new routine that byteswaps a single parameter.
Strangely we didn't have such a routine until now.  Did some testing of doubles, floats, ints,
shorts, and chars and all were swapped correctly.

* Variable Server byteswapping crashes the sim #1513

enabling binary byteswap test.
2023-06-01 13:20:14 -05:00
..
makefile Initial commit of everything. 2015-02-26 09:02:31 -06:00
tc_accept.c Replace sprintf with snprintf in all of Trick source. #1384 (#1392) 2022-11-15 15:00:05 -06:00
tc_blockio.c Replace sprintf with snprintf in all of Trick source. #1384 (#1392) 2022-11-15 15:00:05 -06:00
tc_broadcast_conninfo.c Remove duplicate stand-alone libraries 2015-06-24 15:58:17 -05:00
tc_clock_init.c Remove trailing whitespaces 2016-11-08 10:25:07 +01:00
tc_clock_time.c Remove duplicate stand-alone libraries 2015-06-24 15:58:17 -05:00
tc_connect.c Replace sprintf with snprintf in all of Trick source. #1384 (#1392) 2022-11-15 15:00:05 -06:00
tc_dev_copy.c Remove trailing whitespaces 2016-11-08 10:25:07 +01:00
tc_disconnect.c Replace sprintf with snprintf in all of Trick source. #1384 (#1392) 2022-11-15 15:00:05 -06:00
tc_error.c Standardize directory names 2015-06-09 08:44:42 -05:00
tc_init_mcast_client.c scan-build changes 2018-11-06 11:23:12 -06:00
tc_init_mcast_server.c scan-build changes 2018-11-06 11:23:12 -06:00
tc_init_udp_client.c Merge pull request #729 from iamthad/tcp-nodelay-on-udp 2019-01-31 07:43:23 -06:00
tc_init_udp_server.c Merge pull request #729 from iamthad/tcp-nodelay-on-udp 2019-01-31 07:43:23 -06:00
tc_init.c Don't suppress errno 2018-03-20 15:21:13 -05:00
tc_isValid.c Remove trailing whitespaces 2016-11-08 10:25:07 +01:00
tc_listen.c Standardize directory names 2015-06-09 08:44:42 -05:00
tc_multiconnect.c Remove trailing whitespaces 2016-11-08 10:25:07 +01:00
tc_pending.c Remove duplicate stand-alone libraries 2015-06-24 15:58:17 -05:00
tc_read_byteswap.c Remove trailing whitespaces 2016-11-08 10:25:07 +01:00
tc_read.c Replace sprintf with snprintf in all of Trick source. #1384 (#1392) 2022-11-15 15:00:05 -06:00
tc_set_blockio.c Standardize directory names 2015-06-09 08:44:42 -05:00
tc_write_byteswap.c Remove trailing whitespaces 2016-11-08 10:25:07 +01:00
tc_write.c Replace sprintf with snprintf in all of Trick source. #1384 (#1392) 2022-11-15 15:00:05 -06:00
trick_bswap_buffer.c Variable Server byteswapping crashes the sim #1513 (#1514) 2023-06-01 13:20:14 -05:00
trick_bswap_single_parameter.c Variable Server byteswapping crashes the sim #1513 (#1514) 2023-06-01 13:20:14 -05:00
trick_byteswap.c Remove trailing whitespaces 2016-11-08 10:25:07 +01:00
trick_error_hndlr.c Replace sprintf with snprintf in all of Trick source. #1384 (#1392) 2022-11-15 15:00:05 -06:00