Advertisement
Guest User

Untitled

a guest
Jul 30th, 2012
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.10 KB | None | 0 0
  1. [../unity/UnityCore/Preview.h:65]: (warning) Member variable 'Action::layout_hint' is not initialized in the constructor.
  2. [../unity/UnityCore/FilesystemLenses.cpp:184]: (style) C-style pointer casting
  3. [../unity/UnityCore/FilesystemLenses.cpp:185]: (error) Uninitialized variable: self
  4. [../unity/UnityCore/Indicator.cpp:67]: (performance) Checking for 'entries_' emptiness might be inefficient. Using entries_.empty() instead of entries_.size() can be faster. entries_.size() can take linear time but entries_.empty() is guaranteed to take constant time.
  5. [../unity/UnityCore/IndicatorEntry.cpp:176]: (warning) Member variable 'Entry::active_changed' is not assigned a value in 'Entry::operator='
  6. [../unity/UnityCore/IndicatorEntry.cpp:176]: (warning) Member variable 'Entry::geometry_changed' is not assigned a value in 'Entry::operator='
  7. [../unity/UnityCore/IndicatorEntry.cpp:176]: (warning) Member variable 'Entry::show_now_changed' is not assigned a value in 'Entry::operator='
  8. [../unity/UnityCore/IndicatorEntry.cpp:176]: (warning) Member variable 'Entry::on_show_menu' is not assigned a value in 'Entry::operator='
  9. [../unity/UnityCore/IndicatorEntry.cpp:176]: (warning) Member variable 'Entry::on_secondary_activate' is not assigned a value in 'Entry::operator='
  10. [../unity/UnityCore/IndicatorEntry.cpp:176]: (warning) Member variable 'Entry::on_scroll' is not assigned a value in 'Entry::operator='
  11. [../unity/UnityCore/IndicatorEntry.cpp:176]: (warning) Member variable 'Entry::show_now_' is not assigned a value in 'Entry::operator='
  12. [../unity/UnityCore/IndicatorEntry.cpp:176]: (warning) Member variable 'Entry::active_' is not assigned a value in 'Entry::operator='
  13. [../unity/UnityCore/IndicatorEntry.cpp:176]: (warning) Member variable 'Entry::geometry_' is not assigned a value in 'Entry::operator='
  14. [UnityCore/Preview.h:65]: (warning) Member variable 'Action::layout_hint' is not initialized in the constructor.
  15. [../unity/dash/LensView.cpp:121]: (warning) Member variable 'LensView::initial_activation_' is not initialized in the constructor.
  16. [../unity/dash/LensView.cpp:121]: (warning) Member variable 'LensView::layout_' is not initialized in the constructor.
  17. [../unity/dash/LensView.cpp:121]: (warning) Member variable 'LensView::scroll_view_' is not initialized in the constructor.
  18. [../unity/dash/LensView.cpp:121]: (warning) Member variable 'LensView::scroll_layout_' is not initialized in the constructor.
  19. [../unity/dash/LensView.cpp:121]: (warning) Member variable 'LensView::fscroll_view_' is not initialized in the constructor.
  20. [../unity/dash/LensView.cpp:121]: (warning) Member variable 'LensView::fscroll_layout_' is not initialized in the constructor.
  21. [../unity/dash/LensView.cpp:121]: (warning) Member variable 'LensView::filter_bar_' is not initialized in the constructor.
  22. [../unity/dash/LensView.cpp:121]: (warning) Member variable 'LensView::no_results_' is not initialized in the constructor.
  23. [../unity/dash/ResultRendererTile.cpp:426]: (error) Possible null pointer dereference: container - otherwise it is redundant to check if container is null at line 432
  24. [../unity/dash/ResultRendererTile.cpp:427]: (error) Possible null pointer dereference: container - otherwise it is redundant to check if container is null at line 432
  25. [../unity/dash/ResultRendererTile.cpp:428]: (error) Possible null pointer dereference: container - otherwise it is redundant to check if container is null at line 432
  26. [../unity/dash/ResultView.cpp:98]: (style) Variable 'uri' is assigned a value that is never used
  27. [../unity/dash/ResultViewGrid.cpp:350]: (style) Unused variable: next_focused_uri
  28. [../unity/dash/StandaloneDash.cpp:76]: (style) C-style pointer casting
  29. [../unity/dash/StandaloneDash.cpp:51]: (warning) Member variable 'TestRunner::layout' is not initialized in the constructor.
  30. [../unity/hud/StandaloneHud.cpp:119]: (style) C-style pointer casting
  31. [../unity/hud/StandaloneHud.cpp:56]: (warning) Member variable 'TestRunner::layout' is not initialized in the constructor.
  32. [../unity/hud/StandaloneHud.cpp:56]: (warning) Member variable 'TestRunner::hud_view_' is not initialized in the constructor.
  33. [../unity/launcher/LayoutSystem.cpp:274]: (warning) Member variable 'LayoutWindow::aspect_ratio' is not initialized in the constructor.
  34. [../unity/launcher/LayoutSystem.cpp:274]: (warning) Member variable 'LayoutWindow::alpha' is not initialized in the constructor.
  35. [../unity/launcher/PointerBarrier.cpp:170]: (style) C-style pointer casting
  36. [../unity/launcher/PointerBarrier.cpp:146]: (style) Variable 'x' is assigned a value that is never used
  37. [../unity/launcher/PointerBarrier.cpp:148]: (style) Variable 'event' is assigned a value that is never used
  38. [../unity/launcher/QuicklistManager.cpp:107]: (style) C-style pointer casting
  39. [../unity/launcher/QuicklistManager.cpp:118]: (style) C-style pointer casting
  40. [../unity/launcher/SimpleLauncherIcon.cpp:111]: (performance) The conversion from const char* as returned by c_str to std::string creates an unnecessary string copy. Solve that by directly passing the string.
  41. [../unity/launcher/SimpleLauncherIcon.cpp:113]: (performance) The conversion from const char* as returned by c_str to std::string creates an unnecessary string copy. Solve that by directly passing the string.
  42. [../unity/launcher/TrashLauncherIcon.cpp:134]: (style) C-style pointer casting
  43. [../unity/launcher/TrashLauncherIcon.cpp:156]: (style) C-style pointer casting
  44. [../unity/plugins/unity-mt-grab-handles/src/unity-mt-grab-handles.cpp:226]: (style) Variable 'oldPrev' is assigned a value that is never used
  45. [../unity/plugins/unity-mt-grab-handles/src/unity-mt-grab-handles.cpp:226]: (style) Variable 'oldNext' is assigned a value that is never used
  46. [../unity/plugins/unity-mt-grab-handles/src/unity-mt-grab-handles.cpp:462]: (style) Variable 'us' is assigned a value that is never used
  47. [../unity/plugins/unityshell/src/StartupNotifyService.cpp:45]: (style) C-style pointer casting
  48. [../unity/plugins/unityshell/src/StartupNotifyService.cpp:34]: (warning) Member variable 'StartupNotifyService::_sn_display' is not initialized in the constructor.
  49. [../unity/plugins/unityshell/src/StartupNotifyService.cpp:34]: (warning) Member variable 'StartupNotifyService::_sn_monitor' is not initialized in the constructor.
  50. [../unity/plugins/unityshell/src/UnityShowdesktopHandler.cpp:82]: (warning) Member variable 'ShowdesktopHandler::was_hidden_' is not initialized in the constructor.
  51. [../unity/plugins/unityshell/src/comptransientfor.cpp:30]: (warning) Member variable 'PrivateCompTransientForReader::mWindow' is not initialized in the constructor.
  52. [../unity/plugins/unityshell/src/minimizedwindowhandler.cpp:32]: (warning) Member variable 'PrivateMinimizedWindowHandler::mDpy' is not initialized in the constructor.
  53. [../unity/plugins/unityshell/src/minimizedwindowhandler.cpp:32]: (warning) Member variable 'PrivateMinimizedWindowHandler::mXid' is not initialized in the constructor.
  54. [../unity/plugins/unityshell/src/minimizedwindowhandler.cpp:32]: (warning) Member variable 'PrivateMinimizedWindowHandler::mLockAcquire' is not initialized in the constructor.
  55. [../unity/plugins/unityshell/src/minimizedwindowhandler.cpp:232]: (error) Possible null pointer dereference: nextState
  56. [../unity/plugins/unityshell/src/transientfor.cpp:33]: (warning) Member variable 'PrivateX11TransientForReader::mDpy' is not initialized in the constructor.
  57. [../unity/plugins/unityshell/src/unity-util-accessible.cpp:289]: (error) Memory leak: atk_event
  58. [../unity/plugins/unityshell/src/compizminimizedwindowhandler.h:38]: (warning) Member variable 'PrivateCompizMinimizedWindowHandler::mWindow' is not initialized in the constructor.
  59. [../unity/plugins/unityshell/src/unityshell.cpp:137]: (style) Unused variable: extensions
  60. [../unity/services/panel-service.c:1363]: (warning) scanf without field width limits can crash with huge input data. To fix this error message add a field width specifier:
  61. %s => %20s
  62. %i => %3i
  63.  
  64. Sample program that can crash:
  65.  
  66. #include <stdio.h>
  67. int main()
  68. {
  69. int a;
  70. scanf("%i", &a);
  71. return 0;
  72. }
  73.  
  74. To make it crash:
  75. perl -e 'print "5"x2100000' | ./a.out
  76. [../unity/tests/test-gesture-engine/test_gesture_engine.cpp:40]: (style) Variable 'middle_window' is assigned a value that is never used
  77. [../unity/tests/test-minimize-window-handler/test-minimize-handler.cpp:122]: (style) Variable 'option' is assigned a value that is never used
  78. [../unity/tests/test_hud.cpp:18]: (warning) Member variable 'TestHud::number_signals_found' is not initialized in the constructor.
  79. [../unity/tests/unit/TestStaticCairoText.cpp:65]: (error) Mismatching allocation and deallocation: substring
  80. [../unity/unity-shared/IconRenderer.cpp:219]: (warning) Member variable 'IconRenderer::icon_size' is not initialized in the constructor.
  81. [../unity/unity-shared/IconRenderer.cpp:219]: (warning) Member variable 'IconRenderer::image_size' is not initialized in the constructor.
  82. [../unity/unity-shared/IconRenderer.cpp:219]: (warning) Member variable 'IconRenderer::spacing' is not initialized in the constructor.
  83. [../unity/unity-shared/IconRenderer.cpp:809]: (error) Uninitialized variable: TextureCoord0Location
  84. [../unity/unity-shared/PluginAdapterCompiz.cpp:245]: (performance) Checking for 'm_ActionList' emptiness might be inefficient. Using m_ActionList.empty() instead of m_ActionList.size() can be faster. m_ActionList.size() can take linear time but m_ActionList.empty() is guaranteed to take constant time.
  85. [../unity/unity-shared/PluginAdapterCompiz.cpp:272]: (performance) Checking for 'm_ActionList' emptiness might be inefficient. Using m_ActionList.empty() instead of m_ActionList.size() can be faster. m_ActionList.size() can take linear time but m_ActionList.empty() is guaranteed to take constant time.
  86. [../unity/unity-shared/PluginAdapterCompiz.cpp:818]: (performance) Checking for 'windows' emptiness might be inefficient. Using windows.empty() instead of windows.size() can be faster. windows.size() can take linear time but windows.empty() is guaranteed to take constant time.
  87. [../unity/unity-shared/PluginAdapterStandalone.cpp:53]: (warning) Member variable 'PluginAdapter::_spread_state' is not initialized in the constructor.
  88. [../unity/unity-shared/PluginAdapterStandalone.cpp:53]: (warning) Member variable 'PluginAdapter::_spread_windows_state' is not initialized in the constructor.
  89. [../unity/unity-shared/PluginAdapterStandalone.cpp:53]: (warning) Member variable 'PluginAdapter::_expo_state' is not initialized in the constructor.
  90. [../unity/unity-shared/PluginAdapterStandalone.cpp:53]: (warning) Member variable 'PluginAdapter::_vp_switch_started' is not initialized in the constructor.
  91. [../unity/unity-shared/PluginAdapterStandalone.cpp:53]: (warning) Member variable 'PluginAdapter::_grab_show_action' is not initialized in the constructor.
  92. [../unity/unity-shared/PluginAdapterStandalone.cpp:53]: (warning) Member variable 'PluginAdapter::_grab_hide_action' is not initialized in the constructor.
  93. [../unity/unity-shared/PluginAdapterStandalone.cpp:53]: (warning) Member variable 'PluginAdapter::_grab_toggle_action' is not initialized in the constructor.
  94. [../unity/unity-shared/PluginAdapterStandalone.cpp:53]: (warning) Member variable 'PluginAdapter::_coverage_area_before_automaximize' is not initialized in the constructor.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement