Skip to content

Changes to detect line boundary - #1

Open
guruchandru wants to merge 3 commits into
gbuddappagari:masterfrom
guruchandru:webcfg_util
Open

Changes to detect line boundary#1
guruchandru wants to merge 3 commits into
gbuddappagari:masterfrom
guruchandru:webcfg_util

Conversation

@guruchandru

Copy link
Copy Markdown

No description provided.

Comment thread src/jsonConverter.c Outdated
int arraySize = cJSON_GetArraySize(item);
//printf("%s:%s\n",__FUNCTION__, item->string);
if(item->string != NULL && isBlob == 0)
if((strncmp(item->string, "parameters",strlen("parameters"))) == 0 || (item->string != NULL && isBlob == 0))

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add NULL check first then compare it with "parameters". OR condition should be between isBlob and strncmp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants