6b6419005ef1590f4f532899222424b4539b0511 |
|
17-Dec-2013 |
Alan <gnomes@lxorguk.ukuu.org.uk> |
mkregtable: Fix sscanf handling If you feed the tool a suitable bogus register map you can break it in arbitary (code executing) ways. While this isn't a particularly exciting or probable attack vector we still ought to fix it. One of a set of sscanf issues reported by Jackie Chang Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
a95681058e993bd059d0b6f70730964e15c22596 |
|
04-Jul-2013 |
Dave Jones <davej@redhat.com> |
radeon: remove redundant __list_for_each definition from mkregtable.c Signed-off-by: Dave Jones <davej@redhat.com> Cc: Dave Airlie <airlied@linux.ie> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
e917fd39eb35e5b2c464e67a80e759f3eb468e48 |
|
05-Feb-2011 |
Jesper Juhl <jj@chaosbits.net> |
radeon mkregtable: Add missing fclose() calls drivers/gpu/drm/radeon/mkregtable.c:parser_auth() almost always remembers to fclose(file) before returning, but it misses two spots. This is not really important since the process will exit shortly after and thus close the file for us, but being explicit prevents static analysis tools from complaining about leaked memory and missing fclose() calls and it also seems to be the prefered style of the existing code to explicitly close the file. So, here's a patch to add the two missing fclose() calls. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
|
059d233f9c1183ed2f59d631e4daf486060e880d |
|
07-Jan-2010 |
Alexander Beregalov <a.beregalov@gmail.com> |
drm/radeon: mkregtable.c: close a file before exit Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
|
0592e4c49e5af8ef71a1aa9308a100d711c64911 |
|
17-Oct-2009 |
Josh Triplett <josh@joshtriplett.org> |
drm: radeon: Mark several functions static in mkregtable Signed-off-by: Josh Triplett <josh@joshtriplett.org>
|
689d7c2a1127378854c7d7ea8d7c81238a824240 |
|
27-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
drm/radeon: cleanup mkregtable.c This cleans up the code in mkregtable.c to be more kernel style. Signed-off-by: Dave Airlie <airlied@redhat.com>
|
50f153036c9d9e4ae1768d5ca9c2ad4184f7a0b7 |
|
21-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
drm/radeon/kms: generate the safe register tables. Previously we just made these offline and included them, but no reason we can't generate them at build time. TODO: add rs690 + r100/r200 when done. should we do rs480/rs690 no tcl version? Signed-off-by: Dave Airlie <airlied@redhat.com>
|