Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/smp_aac_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ if((aSmpResult->header.status != SMP_PASS_THRU_SUCCESS)
}


memcpy(rresp->response + aSmpCmdRespOff ,&aFib->data[sizeof(SmpPassThruHeader)],aSmpResult->header.dataReceiveLength);
memcpy(rresp->response + aSmpCmdRespOff ,&aFib->data[sizeof(SmpPassThruHeader)],bytesToSave);

aSmpCmdRespOff += bytesToSave;
aSmpCmdRespLen -= bytesToSave;
Expand Down
1 change: 1 addition & 0 deletions src/smp_conf_general.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ main(int argc, char * argv[])
struct smp_target_obj tobj;

memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_conf_phy_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ main(int argc, char * argv[])
smp_req[0] = SMP_FRAME_TYPE_REQ;
smp_req[1] = SMP_FN_CONFIG_PHY_EVENT;
memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_conf_route_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ main(int argc, char * argv[])
struct smp_target_obj tobj;

memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_conf_zone_man_pass.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ main(int argc, char * argv[])
memset(password, 0, sizeof password);
memset(npassword, 0, sizeof npassword);
memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_conf_zone_perm_tbl.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ main(int argc, char * argv[])
struct smp_target_obj tobj;

memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_conf_zone_phy_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ main(int argc, char * argv[])
smp_req[0] = SMP_FRAME_TYPE_REQ;
smp_req[1] = SMP_FN_CONFIG_ZONE_PHY_INFO;
memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_discover.c
Original file line number Diff line number Diff line change
Expand Up @@ -1203,6 +1203,7 @@ main(int argc, char * argv[])
op = &opts;
memset(op, 0, sizeof(opts));
memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_discover_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -1125,6 +1125,7 @@ main(int argc, char * argv[])
op = &opts;
memset(op, 0, sizeof(opts));
memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_ena_dis_zoning.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ main(int argc, char * argv[])
struct smp_target_obj tobj;

memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_phy_control.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ main(int argc, char * argv[])
struct smp_target_obj tobj;

memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_phy_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ main(int argc, char * argv[])
struct smp_target_obj tobj;

memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_rep_broadcast.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ main(int argc, char * argv[])
struct smp_target_obj tobj;

memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_rep_exp_route_tbl.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ main(int argc, char * argv[])
memset(&opts, 0, sizeof(opts));
opts.do_num = 62; /* maximum fitting in one response */
memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_rep_manufacturer.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ main(int argc, char * argv[])
struct smp_target_obj tobj;

memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_rep_phy_err_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ main(int argc, char * argv[])
struct smp_target_obj tobj;

memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_rep_phy_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ main(int argc, char * argv[])
const struct pes_name_t * pnp;

memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_rep_phy_event_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ main(int argc, char * argv[])
struct smp_target_obj tobj;

memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_rep_phy_sata.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ main(int argc, char * argv[])
struct smp_target_obj tobj;

memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_rep_route_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ main(int argc, char * argv[])
struct smp_target_obj tobj;

memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_rep_self_conf_stat.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ main(int argc, char * argv[])
struct smp_target_obj tobj;

memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_rep_zone_man_pass.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ main(int argc, char * argv[])
int ret = 0;

memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_rep_zone_perm_tbl.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ main(int argc, char * argv[])

memset(device_name, 0, sizeof device_name);
memset(smp_resp, 0, sizeof smp_resp);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_zone_activate.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ main(int argc, char * argv[])
struct smp_target_obj tobj;

memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_zone_lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ main(int argc, char * argv[])
memset(password, 0, sizeof password);
memset(device_name, 0, sizeof device_name);
memset(smp_resp, 0, sizeof smp_resp);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_zone_unlock.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ main(int argc, char * argv[])
struct smp_target_obj tobj;

memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down
1 change: 1 addition & 0 deletions src/smp_zoned_broadcast.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ main(int argc, char * argv[])

memset(smp_req, 0, sizeof smp_req);
memset(device_name, 0, sizeof device_name);
memset(i_params, 0, sizeof i_params);
while (1) {
int option_index = 0;

Expand Down