diff options
author | rillig <rillig@pkgsrc.org> | 2007-01-08 08:21:47 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-01-08 08:21:47 +0000 |
commit | ad7f4f498b36739e0b9f023c92c267facbcaee1d (patch) | |
tree | 1fa34b0de8227574436e845c7765305e3d5f0855 /security/cyrus-saslauthd/files | |
parent | 02c39c55d6b372e0b07601dce8f7b699eee72d46 (diff) | |
download | pkgsrc-ad7f4f498b36739e0b9f023c92c267facbcaee1d.tar.gz |
Fixed the "fix" for CVE-2006-4810, since it introduced these compiler
warnings.
===> GCC
texindex.c: In function `readline':
texindex.c:848: warning: assignment makes pointer from integer without a cast
===> MIPSpro
cc-1515 cc: ERROR File = texindex.c, Line = 848
A value of type "long" cannot be assigned to an entity of type "char *".
end = buffer - linebuffer->buffer;
Well, if the compilers were more intelligent, they could have seen that
(buffer == linebuffer->buffer) was an invariant and that the resulting
difference was therefore always zero, and zero can be converted into any
pointer type. ;)
Diffstat (limited to 'security/cyrus-saslauthd/files')
0 files changed, 0 insertions, 0 deletions