Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10168 closed defect (fixed)

uninitialized memory in mini_snmpd

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: mini_snmpd Cc:

Description

I've found, mini_snmpd returns unexpected values when querying my router. After some debugging I've found that's because it uses uninitialized mallocated memory to store integer in mib.c. Zeroing those chunks seems to solve the problem.

Patch attached.

Attachments (1)

104-clean_memory_before_use_fix.patch (1.7 KB) - added by anonymous 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by anonymous

comment:1 Changed 6 years ago by jow

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r28358, r28359 - thanks!

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.