This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: ZStack Linux Gateway - Suspicious looking code



Tool/software: Linux

Around line 945 in zbSocCmd (z-stack-linux/Source/Projects/zstack/linux/sbl_tool/Source/zbSocCmd.c)
	if (finish_code != SBL_TARGET_STILL_WORKING)
	{
		zbSocFinishLoadingImage(finish_code);                     // <----------------------------------------------------------- !!!!!!!!

		if (finish_code == SBL_SUCCESS);
		{
			zbSocForceRun();
			finish_state = STATE_FINISHED_OK_WAIT;
			printf("Waiting for optional system version information. Press [ENTER] to stop waiting.\n");
			zbSocEnableTimeoutContinious(REPORTING_TIMER, 10000);
		}
		return;
	}