summaryrefslogtreecommitdiff
path: root/source3/include/nterr.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-12-26 10:01:57 +0000
committerAndrew Tridgell <tridge@samba.org>1997-12-26 10:01:57 +0000
commited2ed5671bf868234d540cf9e0b887a19d25cc10 (patch)
treece87ea7a550edf71c0c490226ea9b1601a18e9ed /source3/include/nterr.h
parent65a21bcbddd768a5aa41fc684150d9c5ceb9d5d9 (diff)
downloadsamba-ed2ed5671bf868234d540cf9e0b887a19d25cc10.tar.gz
samba-ed2ed5671bf868234d540cf9e0b887a19d25cc10.tar.bz2
samba-ed2ed5671bf868234d540cf9e0b887a19d25cc10.zip
fixed a couple of illegal uses of scanf() in the nmbd wins code. They
caused a core dump under IRIX when compiled with -64. In general you cannot assume things about variable sizes. In particular sizeof(time_t) may not equal sizeof(long) and sizeof(uint16) may not equal sizeof(short). There are probably other bugs like this. We'll need to check all format statements for use of %ld, %hx etc. In general these should not be used unless you have an explicit cast to the appropriate type. (This used to be commit 6ea907e78672558d470e9a819982940a9228e2fa)
Diffstat (limited to 'source3/include/nterr.h')
0 files changed, 0 insertions, 0 deletions