Changeset 7cc086 in git


Ignore:
Timestamp:
Oct 14, 2011, 3:59:04 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
380c4c25f3fb99209c8c5effe2962d9af3d0cef2
Parents:
9fc2688a96df63cf7af3f12f402aec4297918e83
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-10-14 15:59:04+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:14:07+01:00
Message:
fix tr. 357
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/resources/feFopen.cc

    r9fc2688 r7cc086  
    5050      strcpy (longpath, path);
    5151      dir_sep = strchr(longpath, DIR_SEP);
     52      if (dir_sep==NULL)
     53      {
     54        Werror(" illegal ~ in filename >>%s<<",longpath);
     55        return NULL;
     56      }
    5257      *dir_sep = '\0';
    5358      pw_entry = getpwnam(&longpath[1]);
Note: See TracChangeset for help on using the changeset viewer.