diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-04-16 09:41:39 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-04-16 09:41:39 +0000 |
commit | 6684245bcea5a3b7fc0492f173dbbd0f53f5835e (patch) | |
tree | 6272a6366bf53e5470a0924f7391f5e2eb527b6a /source3/smbwrapper | |
parent | 37c0312def0b0c1b3c4248bd8d797db15d88d772 (diff) | |
download | samba-6684245bcea5a3b7fc0492f173dbbd0f53f5835e.tar.gz samba-6684245bcea5a3b7fc0492f173dbbd0f53f5835e.tar.bz2 samba-6684245bcea5a3b7fc0492f173dbbd0f53f5835e.zip |
got rid of all the FILE* calls in the NT print system.
this also fixes a few security holes in that code. JF - you need to be
careful about open files for writing! symlinks can trap you.
note that I always unlink() the file first, then open with
O_EXCL. That is a cheap trick to avoid the symlink problems.
(This used to be commit ad56e3d7915100a83b33ad36e627e13325197942)
Diffstat (limited to 'source3/smbwrapper')
0 files changed, 0 insertions, 0 deletions