Text   |  XML   |  ReML   |   Visible Warnings:

Cast Alters Value  at mate_util.c:1644

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

loal_from_file

(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/mate/mate_util.c)expand/collapse
Show more  
 1614  extern LoAL* loal_from_file(gchar* filename) {
 1615          FILE *fp = NULL;
 1616          gchar c;
 1617          int i = 0;
 1618          guint32 linenum = 1;
 1619          gchar linenum_buf[MAX_ITEM_LEN];
 1620          gchar name[MAX_ITEM_LEN];
 1621          gchar value[MAX_ITEM_LEN];
 1622          gchar op = '?';
 1623          LoAL *loal = new_loal(filename);
 1624          AVPL* curr = NULL;
 1625          AVP* avp;
 1626   
 1627          enum _load_loal_states {
 1628                  START,
 1629                  BEFORE_NAME,
 1630                  IN_NAME,
 1631                  IN_VALUE,
 1632                  MY_IGNORE 
 1633          } state;
 1634   
 1635  #ifndef _WIN32 
 1636          if (! getuid()) {
 1637                  return load_loal_error(fp,loal,curr,linenum,"MATE Will not run as root");
 1638          }
 1639  #endif
 1640   
 1641          state = START;
 1642   
 1643          if (( fp = ws_fopen(filename,"r") )) {
 1644                  while(( c = (gchar) fgetc(fp) )){
Show more  




Change Warning 3742.30320 : Cast Alters Value

Priority:
State:
Finding:
Owner:
Note: