: <i>Fix buffer overflow w/ GCC 4.5 and -D_FORTIFY_SOURCE=2</i> plus 9 other changes
by
.
D 2010-08-19T17:04:50
J assignee dkf
J closedate 2010-08-19T10:04:50
J closer dkf
J icomment \n\nallow_comments\s-\s1\n\nPatch\slooks\sreasonable,\sbut\sI'm\sconcerned\sabout\sthe\sissue\sreported\sin\sthe\soriginal\sGentoo\sbug.\sWe\sshouldn't\sbe\sunder-allocating\sbuffers.\sStill,\sif\sthe\spatch\sfixes\sit\sthen\sit's\sfine\swith\sme.\s(I\sprefer\smemcpy\sto\sstrcpy\sanyway.)\n\nI\sjust\shate\sdoing\sthings\swithout\sbeing\sable\sto\sverify\sthe\sfix\sin\sthe\stest\ssuite.\s(I\salso\supdated\stwo\sother\splaces\sin\sthe\ssame\ssource\sfile\swhich\swere\susing\sthe\ssame\spattern.)\n
J login dkf
J mimetype text/plain
J resolution Accepted
J status Closed
J subsystem 46.\sTraces
J username dkf
K 3048354fffffffffffffffffffffffffffffffff
U dkf
Z 59765df64ebe172885333de945a392a8