Skip to content

Commit

Permalink
Reverts the strcpy_s(namebuff, buffer); to strcpy(namebuff, buffer);
Browse files Browse the repository at this point in the history
  • Loading branch information
alanspencer committed May 26, 2024
1 parent 07c37b4 commit 257342c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SPIERSview/src/spvreader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ void SPVReader::internalProcessFile(QString filename)
buffer[strlen(buffer) - 1] = 0; //lose the newline character

char namebuff[200];
strcpy_s(namebuff, buffer);
strcpy(namebuff, buffer);
//strcpy_s(namebuff, buffer);

if (strcmp("END", buffer) == 0 && filecount == 0) return; //Error - sp2 file does not refer to any spv files
if (strcmp("END", buffer) != 0)
Expand Down

0 comments on commit 257342c

Please sign in to comment.