#92 rmd_specsfile.c: 2 * bad call to fscanf ?

v1.0 (example)
open
nobody
None
5
2014-04-11
2014-04-11
dcb
No

1.

[rmd_specsfile.c:90]: (warning) scanf without field width limits can crash with huge input data

Source code is

    if(fscanf(fp,"recordMyDesktop = %s\n",Cached_Version)!=1){

Maybe better code is

    if(fscanf(fp,"recordMyDesktop = %256s\n",Cached_Version)!=1){

2.

[rmd_specsfile.c:102]: (warning) scanf without field width limits can crash with huge input data.

Duplicate.

Discussion