Project

General

Profile

Actions

Feature #9649

closed

loader: pxe.c 'datasz' is used uninitialized in this function

Added by Toomas Soome about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
2018-07-12
Due date:
% Done:

90%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Clearing some warnings did reveal ugly bug created by me:

    pxe.c: In function 'pxe_netif_put':
    pxe.c:513:10: error: 'datasz' is used uninitialized in this function [-Werror=uninitialized]
      trans_p = (t_PXENV_UNDI_TRANSMIT *)(scratch_buffer + datasz);
      ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors
Actions #1

Updated by Toomas Soome about 3 years ago

  • Tracker changed from Bug to Feature
  • Status changed from In Progress to Closed

mixed up the branches, sorry.

Actions

Also available in: Atom PDF